Changed documentation const convention for non-objects; added some manual files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@92 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
85
docs/latex/wx/mutex.tex
Normal file
85
docs/latex/wx/mutex.tex
Normal file
@@ -0,0 +1,85 @@
|
||||
\section{\class{wxMutex}}\label{wxmutex}
|
||||
|
||||
A wxMutex controls mutual exclusion, to prevent two or more threads accessing
|
||||
the same piece of code.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
None.
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{wxThread}{wxthread}, \helpref{wxCondition}{wxcondition}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
\membersection{wxMutex::wxMutex}\label{wxmutexconstr}
|
||||
|
||||
\func{}{wxMutex}{\void}
|
||||
|
||||
Default constructor.
|
||||
|
||||
\membersection{wxMutex::\destruct{wxMutex}}
|
||||
|
||||
\func{}{\destruct{wxMutex}}{\void}
|
||||
|
||||
Destroys the wxMutex object.
|
||||
|
||||
\membersection{wxMutex::IsLocked}\label{wxmutexislocked}
|
||||
|
||||
\constfunc{bool}{IsLocked}{\void}
|
||||
|
||||
Returns TRUE if the mutex is locked, FALSE otherwise.
|
||||
|
||||
\membersection{wxMutex::Lock}\label{wxmutexlock}
|
||||
|
||||
\func{wxMutexError}{Lock}{\void}
|
||||
|
||||
Locks the mutex object.
|
||||
|
||||
\wxheading{Return value}
|
||||
|
||||
One of:
|
||||
|
||||
\twocolwidtha{7cm}
|
||||
\begin{twocollist}\itemsep=0pt
|
||||
\twocolitem{{\bf MUTEX\_NO\_ERROR}}{There was no error.}
|
||||
\twocolitem{{\bf MUTEX\_DEAD\_LOCK}}{A deadlock situation was detected.}
|
||||
\twocolitem{{\bf MUTEX\_BUSY}}{The thread is already running.}
|
||||
\end{twocollist}
|
||||
|
||||
\membersection{wxMutex::TryLock}\label{wxmutextrylock}
|
||||
|
||||
\func{wxMutexError}{TryLock}{\void}
|
||||
|
||||
Tries to lock the mutex object. If it can't, returns immediately with an error.
|
||||
|
||||
\wxheading{Return value}
|
||||
|
||||
One of:
|
||||
|
||||
\twocolwidtha{7cm}
|
||||
\begin{twocollist}\itemsep=0pt
|
||||
\twocolitem{{\bf MUTEX\_NO\_ERROR}}{There was no error.}
|
||||
\twocolitem{{\bf MUTEX\_DEAD\_LOCK}}{A deadlock situation was detected.}
|
||||
\twocolitem{{\bf MUTEX\_BUSY}}{The thread is already running.}
|
||||
\end{twocollist}
|
||||
|
||||
\membersection{wxMutex::Unlock}\label{wxmutexunlock}
|
||||
|
||||
\func{wxMutexError}{Unlock}{\void}
|
||||
|
||||
Unlocks the mutex object.
|
||||
|
||||
\wxheading{Return value}
|
||||
|
||||
One of:
|
||||
|
||||
\twocolwidtha{7cm}
|
||||
\begin{twocollist}\itemsep=0pt
|
||||
\twocolitem{{\bf MUTEX\_NO\_ERROR}}{There was no error.}
|
||||
\twocolitem{{\bf MUTEX\_DEAD\_LOCK}}{A deadlock situation was detected.}
|
||||
\twocolitem{{\bf MUTEX\_BUSY}}{The thread is already running.}
|
||||
\end{twocollist}
|
||||
|
||||
|
Reference in New Issue
Block a user