dadb7b9fb0
Under MSW calling UnblockAndRegisterWithEventLoop() for blocking sockets
is not only useless, but actually harmful when the socket is used from a
worker thread (which is the common case for blocking sockets), as it
means that the main thread will be receiving notifications for the
socket events and modifying the socket object while it's being used from
the other thread, resulting in data races and general brokenness.
This is similar to
|
||
---|---|---|
.. | ||
button.h | ||
comptr.h | ||
customdraw.h | ||
datecontrols.h | ||
dc.h | ||
dcdynwrap.h | ||
event.h | ||
fswatcher.h | ||
hiddenwin.h | ||
keyboard.h | ||
metrics.h | ||
msgdlg.h | ||
pipestream.h | ||
sockmsw.h | ||
textmeasure.h | ||
timer.h |