You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
• It is not possible to multiplex more than one queue on the same thread.
• There doesn't seem to be a clean way to terminate.
The C library supports other mode ‒ you can get the file descriptor, put it into epoll (or something similar) and when it is ready, try recvmsg on it. Then you call nfq_handle_packet on it and it calls the callback internally. This is more flexible (though slightly more work). Would it be possible to expose this mode of API as well?
The text was updated successfully, but these errors were encountered:
The
run_loop
mode has two disadvantages.• It is not possible to multiplex more than one queue on the same thread.
• There doesn't seem to be a clean way to terminate.
The C library supports other mode ‒ you can get the file descriptor, put it into
epoll
(or something similar) and when it is ready, tryrecvmsg
on it. Then you callnfq_handle_packet
on it and it calls the callback internally. This is more flexible (though slightly more work). Would it be possible to expose this mode of API as well?The text was updated successfully, but these errors were encountered: