#include <cthread.h>
Data Fields | |
| BOOL | headFlag |
| _CgThread * | prev |
| _CgThread * | next |
| BOOL | runnableFlag |
| pthread_t | pThread |
| void(* | action )(struct _CgThread *) |
| void * | userData |
This wrapper has been created to enable 100% code compatibility between different platforms (Linux, Win32 etc..)
| void(* _CgThread::action)(struct _CgThread *) |
Thread's worker function
| struct _CgThread* _CgThread::next |
| struct _CgThread* _CgThread::prev |
| pthread_t _CgThread::pThread |
The POSIX thread handle
Indicates whether this thread is ready to run
| void* _CgThread::userData |
Arbitrary data pointer
1.4.7