linbox
Public Member Functions
Thread Class Reference

built on posix threadsThis is a thread interface, built on posix threads. More...

#include <blackbox_thread.h>

Inherited by BBBase [virtual].

Public Member Functions

pthread_t getpid () const
 return the unique id associate with the thread.
void setpid (pthread_t _pid)
 set the unique id associate with the thread.
pthread_t getppid () const
 return caller's id
void setppid (pthread_t _ppid)
 set the caller's id
virtual void run (void)=0
 run the thread

Detailed Description

built on posix threads

This is a thread interface, built on posix threads.


Member Function Documentation

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.


The documentation for this class was generated from the following file: