X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6e6110ee8194ee39944dffd57cce9f22cd8b961e..7c4eef7a75398aab1285e3ad2971c59ea3130293:/docs/latex/wx/critsect.tex diff --git a/docs/latex/wx/critsect.tex b/docs/latex/wx/critsect.tex index 884c3ed19c..74c987e7f8 100644 --- a/docs/latex/wx/critsect.tex +++ b/docs/latex/wx/critsect.tex @@ -18,24 +18,31 @@ possible instead of directly using wxCriticalSection for the same reasons None. +\wxheading{Include files} + + + \wxheading{See also} -\helpref{wxThread}{wxthread}, \helpref{wxCondition}{wxcondition}, +\helpref{wxThread}{wxthread}, \helpref{wxCondition}{wxcondition}, \helpref{wxMutexLocker}{wxmutexlocker}, \helpref{wxCriticalSection}{wxcriticalsection} \latexignore{\rtfignore{\wxheading{Members}}} \membersection{wxCriticalSection::wxCriticalSection}\label{wxcriticalsectionctor} + \func{}{wxCriticalSection}{\void} Default constructor initializes critical section object. \membersection{wxCriticalSection::\destruct{wxCriticalSection}}\label{wxcriticalsectiondtor} + \func{}{\destruct{wxCriticalSection}}{\void} Destructor frees the ressources. \membersection{wxCriticalSection::Enter}\label{wxcriticalsectionenter} + \func{void }{Enter}{\void} Enter the critical section (same as locking a mutex). There is no error return @@ -43,7 +50,9 @@ for this function. After entering the critical section protecting some global data the thread running in critical section may safely use/modify it. \membersection{wxCriticalSection::Leave}\label{wxcriticalsectionleave} + \func{void }{Leave}{\void} Leave the critical section allowing other threads use the global data protected by it. There is no error return for this function. +