dbThread Class Reference

#include <sync_w32.h>

List of all members.

Public Types

enum  ThreadPriority {
  THR_PRI_LOW,
  THR_PRI_HIGH,
  THR_PRI_LOW,
  THR_PRI_HIGH
}
enum  ThreadPriority {
  THR_PRI_LOW,
  THR_PRI_HIGH,
  THR_PRI_LOW,
  THR_PRI_HIGH
}
typedef void(thread_proc * thread_proc_t )(void *)
typedef void(thread_proc * thread_proc_t )(void *)

Public Member Functions

void create (thread_proc_t f, void *arg)
void join ()
void detach ()
void setPriority (ThreadPriority pri)
void create (thread_proc_t f, void *arg)
void setPriority (ThreadPriority pri)
void join ()
void detach ()
 dbThread ()
 ~dbThread ()

Static Public Member Functions

static void sleep (time_t sec)
static int numberOfProcessors ()
static void sleep (time_t sec)
static int numberOfProcessors ()

Private Attributes

pthread_t thread
HANDLE h


Member Typedef Documentation

typedef void(thread_proc* thread_proc_t)(void *)

typedef void(thread_proc* thread_proc_t)(void *)


Member Enumeration Documentation

Enumerator:
THR_PRI_LOW 
THR_PRI_HIGH 
THR_PRI_LOW 
THR_PRI_HIGH 

Enumerator:
THR_PRI_LOW 
THR_PRI_HIGH 
THR_PRI_LOW 
THR_PRI_HIGH 


Constructor & Destructor Documentation

dbThread (  )  [inline]

~dbThread (  )  [inline]


Member Function Documentation

static void sleep ( time_t  sec  )  [inline, static]

void create ( thread_proc_t  f,
void *  arg 
) [inline]

void join (  )  [inline]

void detach (  )  [inline]

void setPriority ( ThreadPriority  pri  )  [inline]

int numberOfProcessors (  )  [static]

static void sleep ( time_t  sec  )  [inline, static]

void create ( thread_proc_t  f,
void *  arg 
) [inline]

void setPriority ( ThreadPriority  pri  )  [inline]

void join (  )  [inline]

void detach (  )  [inline]

static int numberOfProcessors (  )  [inline, static]


Member Data Documentation

pthread_t thread [private]

HANDLE h [private]


Online Library Docs

sipXecs home page

Version 4.2.1-018930 2010-07-31T01:13:23 build16 abuild