|  | gtkIOStream
    1.7.0
    GTK+ << C++ IOStream operators for GTK+. Now with ORBing, numerical computation, audio client and more ... | 
#include <Thread.H>
| Public Member Functions | |
| Thread (void) | |
| virtual | ~Thread (void) | 
| void * | stop (void) | 
| int | run (void *(*start_routine)(void *), void *data, int priority=0) | 
| int | setPriority (pthread_attr_t *attributes, int priority) | 
| int | getPriority () | 
| void * | meetThread (void) | 
| void | exit (void *retVal) | 
| bool | running () | 
| Private Attributes | |
| pthread_t | thread | 
| The thread structure.  More... | |
Class to spawn a thread and meet an exited thread. Can use GLib threads if you define USE_GLIB_THREADS, uses pthread otherwise. The main difference between using pthread and glib threads is discussed in the meetThread method.
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
Wait for the thread to end
| 
 | inline | 
Start a thread running start_routine, passing data to that function
| start_routine | The function to run after the thread has been started | 
| data | The argument to be pased to the thread | 
| priority | The priority to schedule with if =0 then don't set the priority (pthreads only) | 
Definition at line 126 of file Thread.H.
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
Force the thread to stop.
Definition at line 107 of file Thread.H.
| GTK+ IOStream
    Beta
    |