X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dc65f4ff2839c48258d146acb958444728014bb4..034ad06337f97ffa3742fd8d9a8df2a4e9d5ed4a:/docs/latex/wx/mutex.tex diff --git a/docs/latex/wx/mutex.tex b/docs/latex/wx/mutex.tex index 5c18a2a08d..5e8275059f 100644 --- a/docs/latex/wx/mutex.tex +++ b/docs/latex/wx/mutex.tex @@ -13,8 +13,8 @@ recursive by default. The reason for this is that recursive mutexes are not supported by all Unix flavours and, worse, they cannot be used with \helpref{wxCondition}{wxcondition}. -For example, when several thread use the data stored in the linked list, -modifications to the list should be only allowed to one thread at a time +For example, when several threads use the data stored in the linked list, +modifications to the list should only be allowed to one thread at a time because during a new node addition the list integrity is temporarily broken (this is also called {\it program invariant}). @@ -93,13 +93,13 @@ None. \latexignore{\rtfignore{\wxheading{Members}}} -\membersection{wxMutex::wxMutex}\label{wxmutexconstr} +\membersection{wxMutex::wxMutex}\label{wxmutexctor} \func{}{wxMutex}{\param{wxMutexType }{type = {\tt wxMUTEX\_DEFAULT}}} Default constructor. -\membersection{wxMutex::\destruct{wxMutex}} +\membersection{wxMutex::\destruct{wxMutex}}\label{wxmutexdtor} \func{}{\destruct{wxMutex}}{\void} @@ -119,7 +119,6 @@ One of: \begin{twocollist}\itemsep=0pt \twocolitem{{\bf wxMUTEX\_NO\_ERROR}}{There was no error.} \twocolitem{{\bf wxMUTEX\_DEAD\_LOCK}}{A deadlock situation was detected.} -\twocolitem{{\bf wxMUTEX\_BUSY}}{The mutex is already locked by another thread.} \end{twocollist} \membersection{wxMutex::TryLock}\label{wxmutextrylock} @@ -135,7 +134,6 @@ One of: \twocolwidtha{7cm} \begin{twocollist}\itemsep=0pt \twocolitem{{\bf wxMUTEX\_NO\_ERROR}}{There was no error.} -\twocolitem{{\bf wxMUTEX\_DEAD\_LOCK}}{A deadlock situation was detected.} \twocolitem{{\bf wxMUTEX\_BUSY}}{The mutex is already locked by another thread.} \end{twocollist} @@ -152,8 +150,6 @@ One of: \twocolwidtha{7cm} \begin{twocollist}\itemsep=0pt \twocolitem{{\bf wxMUTEX\_NO\_ERROR}}{There was no error.} -\twocolitem{{\bf wxMUTEX\_DEAD\_LOCK}}{A deadlock situation was detected.} -\twocolitem{{\bf wxMUTEX\_BUSY}}{The mutex is already locked by another thread.} -\twocolitem{{\bf wxMUTEX\_UNLOCKED}}{The calling thread tries to unlock an unlocked mutex.} +\twocolitem{{\bf wxMUTEX\_UNLOCKED}}{The calling thread doesn't own the mutex.} \end{twocollist}