Public Types | |
| enum | Type { SCOPE_PROCESS, SCOPE_SYSTEM } |
Public Member Functions | |
| Thread (Thread::Type type=SCOPE_SYSTEM, void(*init)(Thread *, void *)=0, void *init_arg=0) | |
| Thread (const char *name, Thread::Type type=SCOPE_SYSTEM, void(*init)(Thread *, void *)=0, void *init_arg=0) | |
| void | execute (void *(*fun)(void *), void *input_arg=0) |
| void * | wait () |
| void | join () |
| void | onStartExec (void(*_start_exec)(Thread *, void *), void *data=0) |
| void | onEndExec (void(*_end_exec)(Thread *, void *), void *data=0) |
| void * | getUserData () |
| void * | setUserData (void *) |
| bool | isProfiled () |
| void | setProfile (bool _profiled) |
| void | resetProfile () |
| const char * | getName () const |
| Thread::Profile | getProfile () const |
| pthread_t | get_thread () |
| int | get_pid () |
| bool | isIdle () const |
| ~Thread () | |
Static Public Member Functions | |
| static Thread * | getCallingThread () |
| static Thread * | initCallingThread () |
Friends | |
| class | Initializer |
Classes | |
| struct | Profile |
Definition at line 125 of file thread.h.
1.5.3