From 384a14ff32d8df258f5c3dcb391cf39b7e119742 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sat, 5 Dec 2009 09:05:45 +0000 Subject: [PATCH] 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 --- interface/wx/thread.h | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.45.2