X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/90e572f1e5af1e51fd14e2e1e6f64fa3e258e590..e39d30c05b9febb396cd9f133b9df7718142e299:/docs/latex/wx/semaphor.tex?ds=sidebyside diff --git a/docs/latex/wx/semaphor.tex b/docs/latex/wx/semaphor.tex index 13f8816fd5..9d9271f944 100644 --- a/docs/latex/wx/semaphor.tex +++ b/docs/latex/wx/semaphor.tex @@ -36,6 +36,10 @@ No base class +\wxheading{Library} + +\helpref{wxBase}{librarieslist} + \latexignore{\rtfignore{\wxheading{Members}}} \membersection{wxSemaphore::wxSemaphore}\label{wxsemaphorewxsemaphore} @@ -43,8 +47,9 @@ No base class \func{}{wxSemaphore}{\param{int }{initialcount = 0}, \param{int }{maxcount = 0}} Specifying a {\it maxcount} of $0$ actually makes wxSemaphore behave as if -there is no upper limit. If maxcount is $1$, the semaphore behaves exactly as a -mutex. +there is no upper limit. If maxcount is $1$, the semaphore behaves almost as a +mutex (but unlike a mutex it can be released by a thread different from the one +which acquired it). {\it initialcount} is the initial value of the semaphore which must be between $0$ and {\it maxcount} (if it is not set to $0$).