FX::FXThread Class Reference

#include <FXThread.h>

List of all members.


Detailed Description

FXThread provides system-independent support for threads. Subclasses must implement the run() function do implement the desired functionality of the thread. The storage of the FXThread object is to be managed by the calling thread, not by the thread itself.

Definition at line 200 of file FXThread.h.

Public Member Functions

 FXThread ()
FXThreadID id () const
FXbool running () const
FXbool start (unsigned long stacksize=0)
FXbool join ()
FXbool join (FXint &code)
FXbool cancel ()
FXbool detach ()
void priority (FXint prio)
FXint priority ()
virtual ~FXThread ()

Static Public Member Functions

static void exit (FXint code=0)
static void yield ()
static FXlong time ()
static void sleep (FXlong nsec)
static void wakeat (FXlong nsec)
static FXThreadself ()
static FXThreadID current ()

Protected Member Functions

virtual FXint run ()=0

Friends

class QThreadFXThread


The documentation for this class was generated from the following file:
(C) 2002-2009 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Nov 20 18:37:04 2009 for TnFOX by doxygen v1.4.7