X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e12be2f7fb5f55553795b7c4168007173511d581..bc253a97e78b2c42b93c1f3cc8e1bcceec68a336:/docs/latex/wx/tthreads.tex?ds=sidebyside diff --git a/docs/latex/wx/tthreads.tex b/docs/latex/wx/tthreads.tex index b9ba1b517b..b6162f24ee 100644 --- a/docs/latex/wx/tthreads.tex +++ b/docs/latex/wx/tthreads.tex @@ -4,18 +4,18 @@ Classes: \helpref{wxThread}{wxthread}, \helpref{wxMutex}{wxmutex}, \helpref{wxCriticalSection}{wxcriticalsection}, \helpref{wxCondition}{wxcondition} -wxWindows provides a complete set of classes encapsulating objects necessary in +wxWidgets provides a complete set of classes encapsulating objects necessary in multithreaded (MT) programs: the \helpref{thread}{wxthread} class itself and different synchronization objects: \helpref{mutexes}{wxmutex} and \helpref{critical sections}{wxcriticalsection} with -\helpref{conditions}{wxcondition}. The thread API in wxWindows resembles to +\helpref{conditions}{wxcondition}. The thread API in wxWidgets resembles to POSIX1.c threads API (a.k.a. pthreads), although several functions have different names and some features inspired by Win32 thread API are there as well. These classes will hopefully make writing MT programs easier and they also provide some extra error checking (compared to the native (be it Win32 or Posix) -thread API), however it is still an untrivial undertaking especially for large +thread API), however it is still an non-trivial undertaking especially for large projects. Before starting an MT application (or starting to add MT features to an existing one) it is worth asking oneself if there is no easier and safer way to implement the same functionality. Of course, in some situations threads