Version: 3.1.0

Detailed Description

wxWidgets provides a set of classes to make use of the native thread capabilities of the various platforms.

Related Overviews: Multithreading Overview

Related macros/global-functions group: Threads

Classes

class  wxMessageQueue< T >
 wxMessageQueue allows passing messages between threads. More...
 
class  wxThreadEvent
 This class adds some simple functionality to wxEvent to facilitate inter-thread communication. More...
 
class  wxCondition
 wxCondition variables correspond to pthread conditions or to Win32 event objects. More...
 
class  wxCriticalSectionLocker
 This is a small helper class to be used with wxCriticalSection objects. More...
 
class  wxThreadHelper
 The wxThreadHelper class is a mix-in class that manages a single background thread, either detached or joinable (see wxThread for the differences). More...
 
class  wxCriticalSection
 A critical section object is used for exactly the same purpose as a wxMutex. More...
 
class  wxThread
 A thread is basically a path of execution through a program. More...
 
class  wxSemaphore
 wxSemaphore is a counter limiting the number of threads concurrently accessing a shared resource. More...
 
class  wxMutexLocker
 This is a small helper class to be used with wxMutex objects. More...
 
class  wxMutex
 A mutex object is a synchronization object whose state is set to signaled when it is not owned by any thread, and nonsignaled when it is owned. More...
 

Enumerations

enum  wxMessageQueueError {
  wxMSGQUEUE_NO_ERROR = 0,
  wxMSGQUEUE_TIMEOUT,
  wxMSGQUEUE_MISC_ERROR
}
 Error codes for wxMessageQueue<> operations. More...
 

Enumeration Type Documentation

Error codes for wxMessageQueue<> operations.

This enum contains the possible return value of wxMessageQueue<> methods.

Since
2.9.0
Category:  Threading
Enumerator
wxMSGQUEUE_NO_ERROR 

Indicates that the operation completed successfully.

wxMSGQUEUE_TIMEOUT 

Indicates that no messages were received before timeout expired.

This return value is only used by wxMessageQueue<>::ReceiveTimeout().

wxMSGQUEUE_MISC_ERROR 

Some unexpected (and fatal) error has occurred.