#include <mythread.h>
Public Methods | |
| Thread (Semaphore *sem=NULL, int pri=10) | |
| void | SetSemaphore (Semaphore *sem) |
| virtual | ~Thread () |
| pthread_t | ID () |
| bool | isExit () |
| void | Exit () |
| int | StartMain (void *var=NULL) |
| int | Kill () |
| bool | isRunning () |
| void | SetPriority (int pri) |
| Semaphore * | Lock () |
| int | Wait () |
| int | Post () |
Public Attributes | |
| void * | vptr |
Protected Methods | |
| virtual void | RunMain (void *var=NULL)=0 |
Protected Attributes | |
| bool | run_flag |
Friends | |
| void | Thread_ThreadRun (Thread *th) |
|
||||||||||||
|
Definition at line 55 of file mythread.h. References run_flag, SetPriority(), and SetSemaphore(). |
|
|
Definition at line 35 of file mythread.h. References Kill(). |
|
|
Definition at line 78 of file mythread.h. |
|
|
Definition at line 36 of file mythread.h. |
|
|
Definition at line 73 of file mythread.h. |
|
|
Definition at line 98 of file mythread.h. References run_flag. |
|
|
Definition at line 88 of file mythread.h. References run_flag. Referenced by ~Thread(). |
|
|
Definition at line 68 of file mythread.h. |
|
|
Definition at line 108 of file mythread.h. References Semaphore::Post(). |
|
|
Referenced by Thread_ThreadRun(). |
|
|
Definition at line 113 of file mythread.h. Referenced by Thread(). |
|
|
Definition at line 63 of file mythread.h. Referenced by Thread(). |
|
|
Definition at line 49 of file mythread.h. References Thread_ThreadRun, void_t, and vptr. |
|
|
Definition at line 103 of file mythread.h. References Semaphore::Wait(). |
|
|
Definition at line 140 of file mythread.h. Referenced by StartMain(). |
|
|
Definition at line 21 of file mythread.h. Referenced by Exit(), isRunning(), Kill(), Thread(), and Thread_ThreadRun(). |
|
|
Definition at line 31 of file mythread.h. Referenced by StartMain(), and Thread_ThreadRun(). |
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001