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. |
||
---|---|---|
.. | ||
msvc/wx | ||
wx |