thread.
@library{wxbase}
- @category{thread}
+ @category{threading}
@see wxThread, wxMutex
*/
the critical section before each @c return.
@library{wxbase}
- @category{thread}
+ @category{threading}
@see wxCriticalSection, wxMutexLocker
*/
associated pointers.
@library{wxbase}
- @category{thread}
+ @category{threading}
@see wxThread
*/
/**
Creates a new thread. The thread object is created in the suspended state, and
you
- should call @ref wxThread::run GetThread()-Run to start running
+ should call @ref wxThread::Run GetThread()-Run to start running
it. You may optionally specify the stack size to be allocated to it (Ignored on
platforms that don't support setting it explicitly, eg. Unix).
be implemented by any derived class. The thread execution will start here.
The returned value is the thread exit code which is only useful for
joinable threads and is the value returned by
- @ref wxThread::wait GetThread()-Wait.
+ @ref wxThread::Wait GetThread()-Wait.
This function is called by wxWidgets itself and should never be called
directly.
*/
A critical section object is used for exactly the same purpose as
mutexes(). The only difference is that under Windows platform
critical sections are only visible inside one process, while mutexes may be
- shared between processes, so using critical sections is slightly more
+ shared among processes, so using critical sections is slightly more
efficient. The terminology is also slightly different: mutex may be locked (or
acquired) and unlocked (or released) while critical section is entered and left
by the program.
wxMutex - please see wxMutex for an example.
@library{wxbase}
- @category{thread}
+ @category{threading}
@see wxThread, wxCondition, wxCriticalSectionLocker
*/
problems for the memory checking system.
@library{wxbase}
- @category{thread}
+ @category{threading}
@see wxMutex, wxCondition, wxCriticalSection
*/
Called when the thread exits. This function is called in the context of the
thread associated with the wxThread object, not in the context of the main
thread. This function will not be called if the thread was
- @ref kill() killed.
+ @ref Kill() killed.
This function should never be called directly.
*/
void OnExit();
released by calling wxSemaphore::Post.
@library{wxbase}
- @category{thread}
+ @category{threading}
*/
class wxSemaphore
{
usage.
@library{wxbase}
- @category{thread}
+ @category{threading}
@see wxMutex, wxCriticalSectionLocker
*/
public:
/**
Constructs a wxMutexLocker object associated with mutex and locks it.
- Call @ref isok() IsLocked to check if the mutex was
+ Call @ref IsOk() IsLocked to check if the mutex was
successfully locked.
*/
wxMutexLocker(wxMutex& mutex);
(this is also called @e program invariant).
@library{wxbase}
- @category{thread}
+ @category{threading}
@see wxThread, wxCondition, wxMutexLocker, wxCriticalSection
*/