asio and kqueue (2nd trye) (was: RE: (boost::)asio and kqueue problem)
Hartmut.Brandt at dlr.de
Hartmut.Brandt at dlr.de
Fri Oct 14 09:23:07 UTC 2016
Hi all,
here is the 2nd try taking into account the comments I received. Since I'm not familiar with the locking in the sockets area I ask somebody with that knowledge to check it before I commit it.
Thanks,
harti
From: Scott Mitchell [mailto:scott.k.mitch1 at gmail.com]
Sent: Friday, October 14, 2016 2:16 AM
To: freebsd-current at freebsd.org
Cc: sepherosa at gmail.com; kostikbel at gmail.com; Brandt, Hartmut; adrian.chadd at gmail.com
Subject: (boost::)asio and kqueue problem
I am not using boost but I have also encountered this unexpected behavior when calling listen after kevent. Is their any update on the approach to merge filt_soread and filt_solisten?
FYI - MacOS does not have this unexpected behavior. Read events are not "missed" if the listen is done after the kevent EVFILT_READ change is registered.
Thanks,
-Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: asio_listen.diff
Type: application/octet-stream
Size: 2796 bytes
Desc: asio_listen.diff
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20161014/49782025/attachment.obj>
More information about the freebsd-current
mailing list