e5c93ad674
We reuse the same global dispatcher object (allocated in wxFDIODispatcher::Get()) for the sockets created in different threads, so it's perfectly possible for its methods to be called concurrently and this happens even in our own socket streams unit tests. Protect against concurrent modification of the select sets and m_maxFD. This fixes sporadic Travis build failures such as the one at https://travis-ci.org/wxWidgets/wxWidgets/jobs/110757281 for example and probably even worse bugs too. |
||
---|---|---|
.. | ||
addremovectrl.h | ||
eventloopsourcesmanager.h | ||
fd.h | ||
fdiodispatcher.h | ||
fdioeventloopsourcehandler.h | ||
fdiohandler.h | ||
fdiomanager.h | ||
fileback.h | ||
filename.h | ||
flagscheck.h | ||
fontmgr.h | ||
fswatcher.h | ||
graphics.h | ||
launchbrowser.h | ||
markupparser.h | ||
markupparserattr.h | ||
notifmsg.h | ||
overlay.h | ||
pipestream.h | ||
preferences.h | ||
richtooltip.h | ||
sckaddr.h | ||
selectdispatcher.h | ||
socket.h | ||
streamtempinput.h | ||
textmeasure.h | ||
threadinfo.h | ||
timer.h | ||
window.h | ||
wxprintf.h |