X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3e79fa7534162386335ee0d3994afe64c7fa2ca1..34c07b8b63651e46aabb7809c25d95dd40736687:/docs/latex/wx/mutex.tex?ds=sidebyside diff --git a/docs/latex/wx/mutex.tex b/docs/latex/wx/mutex.tex index db784aeea4..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}). @@ -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}