CrystalSpace

Public API Reference

csutil/thread.h File Reference

Threading and synchronization support. More...

#include "csutil/ref.h"
#include "csutil/refcount.h"
#include "csutil/win32/msvc_deprecated_warn_off.h"
#include "csutil/win32/msvc_deprecated_warn_on.h"

Go to the source code of this file.

Classes

class  csCondition
 A condition object. More...
class  csMutex
 A mutual-exclusion object. More...
class  csRunnable
 Abstract interface for objects which can be run in a thread. More...
class  csSemaphore
 A semaphore object. More...
class  csThread
 Representation of a thread of executation. More...

Enumerations

enum  {
  CS_THREAD_NO_ERROR = 0, CS_THREAD_UNKNOWN_ERROR, CS_THREAD_OUT_OF_RESOURCES, CS_THREAD_ERR_ATTRIBUTE,
  CS_THREAD_NO_PERMISSION, CS_THREAD_UNKNOWN_THREAD, CS_THREAD_DEADLOCK, CS_THREAD_OPERATION_PENDING,
  CS_THREAD_MUTEX_NOT_INITIALIZED, CS_THREAD_MUTEX_BUSY, CS_THREAD_MUTEX_UNKNOWN, CS_THREAD_CONDITION_TIMEOUT,
  CS_THREAD_CONDITION_BUSY, CS_THREAD_CONDITION_WAIT_INTERRUPTED, CS_THREAD_SIGNAL_UNKNOWN, CS_THREAD_SEMA_VALUE_TOO_LARGE,
  CS_THREAD_SEMA_BUSY
}
 List of errorcodes for threads. More...
enum  csThreadPriority { CS_THREAD_PRIORITY_IDLE = 0, CS_THREAD_PRIORITY_NORMAL, CS_THREAD_PRIORITY_TIMECRITICAL }


Detailed Description

Threading and synchronization support.

Definition in file thread.h.


Enumeration Type Documentation

anonymous enum

List of errorcodes for threads.

Enumerator:
CS_THREAD_NO_ERROR 
CS_THREAD_UNKNOWN_ERROR 
CS_THREAD_OUT_OF_RESOURCES 
CS_THREAD_ERR_ATTRIBUTE 
CS_THREAD_NO_PERMISSION 
CS_THREAD_UNKNOWN_THREAD 
CS_THREAD_DEADLOCK 
CS_THREAD_OPERATION_PENDING 
CS_THREAD_MUTEX_NOT_INITIALIZED 
CS_THREAD_MUTEX_BUSY 
CS_THREAD_MUTEX_UNKNOWN 
CS_THREAD_CONDITION_TIMEOUT 
CS_THREAD_CONDITION_BUSY 
CS_THREAD_CONDITION_WAIT_INTERRUPTED 
CS_THREAD_SIGNAL_UNKNOWN 
CS_THREAD_SEMA_VALUE_TOO_LARGE 
CS_THREAD_SEMA_BUSY 

Definition at line 32 of file thread.h.

Enumerator:
CS_THREAD_PRIORITY_IDLE 
CS_THREAD_PRIORITY_NORMAL 
CS_THREAD_PRIORITY_TIMECRITICAL 

Definition at line 59 of file thread.h.


Generated for Crystal Space 1.2.1 by doxygen 1.5.3