Package wx.Thread

The wxThread wrapper classes. (Optional, requires threads). More...


Classes

class  Mutex
 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. Its name comes from its usefulness in coordinating mutually-exclusive access to a shared resource. Only one thread at a time can own a mutex object. More...
class  MutexLocker
class  CriticalSection
 Critical section: this is the same as mutex but is only visible to the threads of the same process. For the platforms which don't have native support for critical sections, they're implemented entirely in terms of mutexes. More...
class  CriticalSectionLocker
class  Condition
 wxCondition models a POSIX condition variable which allows one (or more) thread(s) to wait until some condition is fulfilled More...
class  Semaphore
 wxSemaphore: a counter limiting the number of threads concurrently accessing a shared resource More...
class  Thread
 wxThread: class encapsulating a thread of execution More...
class  ThreadHelperThread
class  ThreadHelper
 wxThreadHelper: this class implements the threading logic to run a background task in another object (such as a window). It is a mix-in: just derive from it to implement a threading background task in your class. More...

Enumerations

enum  wxMutexError {
  wxMUTEX_NO_ERROR = 0,
  wxMUTEX_INVALID,
  wxMUTEX_DEAD_LOCK,
  wxMUTEX_BUSY,
  wxMUTEX_UNLOCKED,
  wxMUTEX_MISC_ERROR
}
enum  wxCondError {
  wxCOND_NO_ERROR = 0,
  wxCOND_INVALID,
  wxCOND_TIMEOUT,
  wxCOND_MISC_ERROR
}
enum  wxSemaError {
  wxSEMA_NO_ERROR = 0,
  wxSEMA_INVALID,
  wxSEMA_BUSY,
  wxSEMA_TIMEOUT,
  wxSEMA_OVERFLOW,
  wxSEMA_MISC_ERROR
}
enum  wxThreadError {
  wxTHREAD_NO_ERROR = 0,
  wxTHREAD_NO_RESOURCE,
  wxTHREAD_RUNNING,
  wxTHREAD_NOT_RUNNING,
  wxTHREAD_KILLED,
  wxTHREAD_MISC_ERROR
}
enum  wxThreadKind {
  wxTHREAD_DETACHED,
  wxTHREAD_JOINABLE
}
enum  {
  WXTHREAD_MIN_PRIORITY = 0u,
  WXTHREAD_DEFAULT_PRIORITY = 50u,
  WXTHREAD_MAX_PRIORITY = 100u
}
enum  wxMutexType {
  wxMUTEX_DEFAULT,
  wxMUTEX_RECURSIVE
}

Variables

alias Mutex wxMutex
alias MutexLocker wxMutexLocker
alias CriticalSection wxCriticalSection
alias CriticalSectionLocker wxCriticalSectionLocker
alias Condition wxCondition
alias Semaphore wxSemaphore
alias Thread wxThread
alias ThreadHelperThread wxThreadHelperThread
alias ThreadHelper wxThreadHelper


Detailed Description

The wxThread wrapper classes. (Optional, requires threads).

Enumeration Type Documentation

anonymous enum

Enumerator:
WXTHREAD_MIN_PRIORITY 
WXTHREAD_DEFAULT_PRIORITY 
WXTHREAD_MAX_PRIORITY 

enum wxCondError

Enumerator:
wxCOND_NO_ERROR 
wxCOND_INVALID 
wxCOND_TIMEOUT 
wxCOND_MISC_ERROR 

enum wxMutexError

Enumerator:
wxMUTEX_NO_ERROR 
wxMUTEX_INVALID 
wxMUTEX_DEAD_LOCK 
wxMUTEX_BUSY 
wxMUTEX_UNLOCKED 
wxMUTEX_MISC_ERROR 

enum wxMutexType

Enumerator:
wxMUTEX_DEFAULT 
wxMUTEX_RECURSIVE 

enum wxSemaError

Enumerator:
wxSEMA_NO_ERROR 
wxSEMA_INVALID 
wxSEMA_BUSY 
wxSEMA_TIMEOUT 
wxSEMA_OVERFLOW 
wxSEMA_MISC_ERROR 

enum wxThreadError

Enumerator:
wxTHREAD_NO_ERROR 
wxTHREAD_NO_RESOURCE 
wxTHREAD_RUNNING 
wxTHREAD_NOT_RUNNING 
wxTHREAD_KILLED 
wxTHREAD_MISC_ERROR 

enum wxThreadKind

Enumerator:
wxTHREAD_DETACHED 
wxTHREAD_JOINABLE 


Variable Documentation

alias Condition wxCondition

alias CriticalSection wxCriticalSection

alias CriticalSectionLocker wxCriticalSectionLocker

alias Mutex wxMutex

alias MutexLocker wxMutexLocker

alias Semaphore wxSemaphore

alias Thread wxThread

alias ThreadHelper wxThreadHelper

alias ThreadHelperThread wxThreadHelperThread


Generated on Sun Feb 1 21:30:29 2009 for wxD by  doxygen 1.5.4