X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9fc3ad34c5326856aeebf02335244ae315cef688..08829b064c5cdab69ace7edc16290fd6315c1ff0:/docs/latex/wx/tthreads.tex diff --git a/docs/latex/wx/tthreads.tex b/docs/latex/wx/tthreads.tex index 2e1d6cb80d..26d769af94 100644 --- a/docs/latex/wx/tthreads.tex +++ b/docs/latex/wx/tthreads.tex @@ -15,7 +15,7 @@ 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 @@ -38,7 +38,7 @@ Win32 a thread can only access GDI objects such as pens, brushes, \&c created by itself and not by the other threads). For communication between threads, use -\helpref{wxEvtHandler::AddPendingEvent}{wxevthandleraddpendingprocessevent} +\helpref{wxEvtHandler::AddPendingEvent}{wxevthandleraddpendingevent} or its short version \helpref{wxPostEvent}{wxpostevent}. These functions have thread safe implementation so that they can be used as they are for sending event from one thread to another.