wxWidgets/include
Vadim Zeitlin 4017f5ca49 wxSocket::Initialize() and Shutdown() are for main thread only.
Calling Initialize() from another thread could never work before but it wasn't
clear that this was the case so document it in the functions comments and
documentation now and add asserts checking that they are called from the main
thread only.

Also simplify the code as we don't actually need to do any reference-counting
here and a simple boolean flag indicating whether the sockets are initialized
is enough.

Closes #11119.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-21 08:44:35 +00:00
..
msvc/wx Move #error for non-MSVC to the top of file. 2009-07-25 22:26:15 +00:00
wx wxSocket::Initialize() and Shutdown() are for main thread only. 2009-09-21 08:44:35 +00:00