Base Module  VST 3.6.6
SDK for developing VST Plug-in
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Namespaces | Macros | Typedefs | Enumerations | Functions
fthread.h File Reference

Threads, locks and signals. More...

#include "base/source/fstring.h"
#include "base/source/fatomic.h"
#include "pluginterfaces/base/ftypes.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

 Steinberg
 
 Steinberg::FPanicAssert
 

Macros

#define PANIC_ASSERT(test, code)   if (!(test)) FPanicAssert::panic (code);
 

Typedefs

typedef void(* PANIC_FUNC )(int32 code)
 
typedef FReadGuardT< FRwLock > FReadGuard
 
typedef FWriteGuardT< FRwLock > FWriteGuard
 

Enumerations

enum  FThreadPriority {
  kLowPriority, kBelowNormalPriority, kNormalPriority, kAboveNormalPriority,
  kHighPriority, kRealtimePriority
}
 Thread priority enum. More...
 

Functions

void setPanicHook (PANIC_FUNC newPanicHook)
 
void panic (int32 code)
 
void FThreadSleep (int32 milliseconds)
 Sets current thread to sleep for a while, while releasing the CPU. More...
 

Detailed Description

Threads, locks and signals.

Macro Definition Documentation

#define PANIC_ASSERT (   test,
  code 
)    if (!(test)) FPanicAssert::panic (code);
Empty

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