gtkIOStream  1.7.0
GTK+ << C++ IOStream operators for GTK+. Now with ORBing, numerical computation, audio client and more ...
Thread.H File Reference
#include <pthread.h>
#include <errno.h>
#include <stdio.h>
#include <string.h>
#include "Debug.H"
Include dependency graph for Thread.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ThreadDebug
 
class  Thread
 
class  ThreadedMethod
 
class  Mutex
 
class  Cond
 
class  WaitingThread
 

Macros

#define THREAD_CREATE_ERROR   -0+THREAD_ERROR_OFFSET
 Couldn't create the thread error. More...
 
#define THREAD_MUTEX_UNINIT_ERROR   -1+THREAD_ERROR_OFFSET
 The mutex wasn't initialised error. More...
 
#define THREAD_MUTEX_DEADLK_ERROR   -2+THREAD_ERROR_OFFSET
 The mutex is already locked. More...
 
#define THREAD_MUTEX_DONTOWN_ERROR   -3+THREAD_ERROR_OFFSET
 The thread doesn't own the mutex. More...
 
#define THREAD_MUTEX_DESTROY_LOCKED_ERROR   -4+THREAD_ERROR_OFFSET
 The mutex can't be destroyed when locked. More...
 
#define THREAD_MUTEX_LOCKBUSY_WARNING   -5+THREAD_ERROR_OFFSET
 The mutex can't be locked as it is already locked. More...
 
#define THREAD_NOTFOUND_ERROR   -6+THREAD_ERROR_OFFSET
 The thread can't be found. More...
 
#define THREAD_COND_WAITBUSY_ERROR   -7+THREAD_ERROR_OFFSET
 One or more threads is waiting on the Cond variable. More...
 
#define THREAD_SCHED_ERROR   -8+THREAD_ERROR_OFFSET
 Scheduling setting error. More...
 

Macro Definition Documentation

◆ THREAD_COND_WAITBUSY_ERROR

#define THREAD_COND_WAITBUSY_ERROR   -7+THREAD_ERROR_OFFSET

One or more threads is waiting on the Cond variable.

Definition at line 38 of file Thread.H.

◆ THREAD_CREATE_ERROR

#define THREAD_CREATE_ERROR   -0+THREAD_ERROR_OFFSET

Couldn't create the thread error.

Definition at line 31 of file Thread.H.

◆ THREAD_MUTEX_DEADLK_ERROR

#define THREAD_MUTEX_DEADLK_ERROR   -2+THREAD_ERROR_OFFSET

The mutex is already locked.

Definition at line 33 of file Thread.H.

◆ THREAD_MUTEX_DESTROY_LOCKED_ERROR

#define THREAD_MUTEX_DESTROY_LOCKED_ERROR   -4+THREAD_ERROR_OFFSET

The mutex can't be destroyed when locked.

Definition at line 35 of file Thread.H.

◆ THREAD_MUTEX_DONTOWN_ERROR

#define THREAD_MUTEX_DONTOWN_ERROR   -3+THREAD_ERROR_OFFSET

The thread doesn't own the mutex.

Definition at line 34 of file Thread.H.

◆ THREAD_MUTEX_LOCKBUSY_WARNING

#define THREAD_MUTEX_LOCKBUSY_WARNING   -5+THREAD_ERROR_OFFSET

The mutex can't be locked as it is already locked.

Definition at line 36 of file Thread.H.

◆ THREAD_MUTEX_UNINIT_ERROR

#define THREAD_MUTEX_UNINIT_ERROR   -1+THREAD_ERROR_OFFSET

The mutex wasn't initialised error.

Definition at line 32 of file Thread.H.

◆ THREAD_NOTFOUND_ERROR

#define THREAD_NOTFOUND_ERROR   -6+THREAD_ERROR_OFFSET

The thread can't be found.

Definition at line 37 of file Thread.H.

◆ THREAD_SCHED_ERROR

#define THREAD_SCHED_ERROR   -8+THREAD_ERROR_OFFSET

Scheduling setting error.

Definition at line 39 of file Thread.H.

gtkIOStream: /tmp/gtkiostream/include/Thread.H File Reference
GTK+ IOStream  Beta