]> git.saurik.com Git - wxWidgets.git/commitdiff
Documented that wxCriticalSection can be used before wxInitialize(), as a global...
authorVáclav Slavík <vslavik@fastmail.fm>
Sat, 5 Dec 2009 09:05:45 +0000 (09:05 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sat, 5 Dec 2009 09:05:45 +0000 (09:05 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

interface/wx/thread.h

index 89eccc0b1329e5e3c8127ea456d0557a14bf9b76..328879c901a8cea3018c917f51a0ea9e5a7b2456 100644 (file)
@@ -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