fthread.h File Reference

Threads, locks and signals. More...

#include "base/source/fstring.h"
#include "base/source/fatomic.h"

Data Structures

class  FThread
 FThread wraps threads for each platform. More...
struct  IThreadSpy
 Thread Spy interface declaration. More...
struct  ILock
 Lock interface declaration. More...
class  FLock
 FLock declaration. More...
class  FLockObject
 FLockObj declaration. More...
class  FCondition
 FCondition - wraps the signal and wait calls in win32. More...
class  FRwLock
 FRwLock - read / write lock. More...
class  FGuard
 FGuard - automatic object for locks. More...
class  FConditionalGuard
 Conditional Guard - Locks only if valid lock is passed. More...
class  FConditionalReadGuard
 Conditional Read Guard - Locks only if valid lock is passed. More...
class  FConditionalWriteGuard
 Conditional Write Guard - Locks only if valid lock is passed. More...
class  FSemaphore
 Semaphore. More...
class  FSemaphoreGuard
 Semaphore Guard - automatic object for semaphores. More...
class  FReadGuardT< T >
 Scope object for setting a read lock. More...
class  FWriteGuardT< T >
 Scope object for setting a write lock. More...
class  FRecursionCounter
 Prevent recursive calls or from another thread to a method use in combination with FRecursionGuard. More...
class  FRecursionGuard
 Guard for a FRecursionCounterusage example:. More...
class  FLocalThreadStorage
 Local storage for threadsLocal thread storage enables multiple threads to use the same ID to store and retrieve an object that is local to the thread. More...

Namespaces

namespace  Steinberg

Defines

#define LIGHT_RWLOCK   0
#define USE_WINDOWS_SLIMRWLOCK   0

Typedefs

typedef FReadGuardT< FRwLock > FReadGuard
typedef FWriteGuardT< FRwLock > FWriteGuard

Enumerations

enum  FThreadPriority {
  kLowPriority, kBelowNormalPriority, kNormalPriority, kAboveNormalPriority,
  kHighPriority, kRealtimePriority
}
 

Thread priority enum.

More...

Functions

void FThreadSleep (int32 milliseconds)
 Sets current thread to sleep for a while, while releasing the CPU.

Detailed Description

Threads, locks and signals.


Define Documentation

#define LIGHT_RWLOCK   0
#define USE_WINDOWS_SLIMRWLOCK   0
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Empty

Copyright ©2013 Steinberg Media Technologies GmbH. All Rights Reserved.