#include <blackbox_thread.h>
Inherited by BBBase [virtual]
.
Public Member Functions | |
pthread_t | getpid () const |
void | setpid (pthread_t _pid) |
pthread_t | getppid () const |
void | setppid (pthread_t _ppid) |
virtual void | run (void)=0 |
built on posix threads
This is a thread interface, built on posix threads.
pthread_t getpid | ( | ) | const [inline] |
return the unique id associate with the thread.
void setpid | ( | pthread_t | _pid | ) | [inline] |
set the unique id associate with the thread.
pthread_t getppid | ( | ) | const [inline] |
return caller's id
void setppid | ( | pthread_t | _ppid | ) | [inline] |
set the caller's id
virtual void run | ( | void | ) | [pure virtual] |
run the thread