1fd66195d8
instead of keeping the structures in an opaque array (which was a shadow of the struct pollfd array if poll() was supported), make them directly addressable. this has the advantage that notifier-altering operations (mostly en-/disabling) don't need to look up the structure by file handle each time. on the downside, data locality in the main loop is worse. neither of these have any real effect on performance. note that the structures are not allocated separately, but embedded into the the parent structure (like sockets already were). |
||
---|---|---|
.. | ||
compat | ||
.gitignore | ||
common.h | ||
config.c | ||
config.h | ||
driver.c | ||
driver.h | ||
drv_imap.c | ||
drv_maildir.c | ||
main.c | ||
Makefile.am | ||
mbsync.1 | ||
mbsyncrc.sample | ||
mdconvert.1 | ||
mdconvert.c | ||
run-tests.pl | ||
socket.c | ||
socket.h | ||
sync.c | ||
sync.h | ||
util.c |