DThread Class Reference

#include <dthread.h>

Public Types

typedef void(* initial_func_t )(void *)
typedef void dthread_ret_t

Public Member Functions

 DThread ()
 ~DThread ()
bool spawn (initial_func_t func, void *param)
bool join ()
long id ()

Static Public Member Functions

static long self ()

Data Fields

bool live

Private Attributes

pthread_t thrd

Detailed Description

Definition at line 49 of file dthread.h.


Member Typedef Documentation

typedef void DThread::dthread_ret_t

Definition at line 54 of file dthread.h.

typedef void(* DThread::initial_func_t)(void *)

Definition at line 53 of file dthread.h.


Constructor & Destructor Documentation

DThread::DThread (  ) 

Definition at line 33 of file dthread-win.C.

DThread::~DThread (  ) 

Definition at line 37 of file dthread-win.C.


Member Function Documentation

long DThread::id (  ) 

Definition at line 58 of file dthread-win.C.

bool DThread::join (  ) 

Definition at line 51 of file dthread-win.C.

References live, and thrd.

long DThread::self (  )  [static]

Definition at line 41 of file dthread-win.C.

bool DThread::spawn ( DThread::initial_func_t  func,
void *  param 
)

Definition at line 45 of file dthread-win.C.

References INVALID_HANDLE_VALUE, live, and thrd.


Field Documentation

Definition at line 64 of file dthread.h.

Referenced by join(), and spawn().

pthread_t DThread::thrd [private]

Definition at line 51 of file dthread.h.

Referenced by join(), and spawn().


The documentation for this class was generated from the following files:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 12 Jul 2013 for SymtabAPI by  doxygen 1.6.1