Details
Description
The UnixNet subsystem was modified for epoll, but lots of the old data structures, data members and code
remain for the old "bucket" approach.
The epoll code should also be encapsulated to simplify support for other platforms and a possible move
to an event library.
The current code is complicated by limitations in Queue which require specifying the link field for every
use, but which can be fixed by in the template.
Finally, the current code does an unnecessary allocation for the epoll struct which should be part of the NetVConnection etc.
and it takes a lock for the enable_queue which can be avoided by using the non-locking AtomicSSL.
This work is also good preparation for evaluating libev or libevent as it will reduce the amount of code which
will have to be changed.
Attachments
Attachments
Issue Links
- is depended upon by
-
TS-3313 New World order for connection management and timeouts
- Closed