eyedblib::Thread Class Reference

List of all members.

Public Types

enum  Type { SCOPE_PROCESS, SCOPE_SYSTEM }

Public Member Functions

 Thread (Thread::Type type=SCOPE_SYSTEM, void(*init)(Thread *, void *)=0, void *init_arg=0)
 Thread (const char *name, Thread::Type type=SCOPE_SYSTEM, void(*init)(Thread *, void *)=0, void *init_arg=0)
void execute (void *(*fun)(void *), void *input_arg=0)
void * wait ()
void join ()
void onStartExec (void(*_start_exec)(Thread *, void *), void *data=0)
void onEndExec (void(*_end_exec)(Thread *, void *), void *data=0)
void * getUserData ()
void * setUserData (void *)
bool isProfiled ()
void setProfile (bool _profiled)
void resetProfile ()
const char * getName () const
Thread::Profile getProfile () const
pthread_t get_thread ()
int get_pid ()
bool isIdle () const
 ~Thread ()

Static Public Member Functions

static ThreadgetCallingThread ()
static ThreadinitCallingThread ()

Friends

class Initializer

Classes

struct  Profile


Detailed Description

Definition at line 125 of file thread.h.


Member Enumeration Documentation

enum eyedblib::Thread::Type

Enumerator:
SCOPE_PROCESS 
SCOPE_SYSTEM 

Definition at line 128 of file thread.h.


The documentation for this class was generated from the following files:
Generated on Mon Dec 22 18:16:25 2008 for eyedb by  doxygen 1.5.3