From: Václav Slavík Date: Sat, 5 Dec 2009 09:05:45 +0000 (+0000) Subject: Documented that wxCriticalSection can be used before wxInitialize(), as a global... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/384a14ff32d8df258f5c3dcb391cf39b7e119742 Documented that wxCriticalSection can be used before wxInitialize(), as a global object. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/interface/wx/thread.h b/interface/wx/thread.h index 89eccc0b13..328879c901 100644 --- a/interface/wx/thread.h +++ b/interface/wx/thread.h @@ -518,6 +518,10 @@ enum wxCriticalSectionType @library{wxbase} @category{threading} + @note Critical sections can be used before the wxWidgets library is fully + initialized. In particular, it's safe to create global + wxCriticalSection instances. + @see wxThread, wxCondition, wxCriticalSectionLocker */ class wxCriticalSection