namespace CCL::Threading

Overview

Thread information. More…

namespace Threading {

// typedefs

typedef void* WorkgroupID;
typedef void* WorkgroupToken;
typedef void (CCL_API* ThreadLocalDestructor)(void *data);
typedef int (CCL_API* ThreadFunction)(void *arg);
typedef void* WorkID;

// structs

struct AutoLock;
struct AutoTryLock;
struct IAtomicStack;
struct ILockProvider;
struct ILockable;
struct IMultiWorker;
struct INamedPipe;
struct IPeriodicItem;
struct ISemaphore;
struct ISharedMemory;
struct ISyncPrimitive;
struct IThread;
struct IThreadPool;
struct IWorkItem;
struct ScopedLock;
struct ScopedTryLock;
struct ThreadInfo;
struct Work;
struct WorkgroupIntervalScope;
struct WorkgroupJoinScope;

// classes

class AbstractWorkItem;
class AtomicInt;
class AtomicPtr;
class CriticalSection;
class Signal;
class SpinLock;
class SyncObject;

template <class T>
class ThreadLocal;

template <class T>
class ThreadSingleton;

class UserThread;

// global variables

 ISharedMemory;
 ISemaphore;
 INamedPipe;
 ILockable;
 ILockProvider;
 IMultiWorker;
 IThread;
 ISyncPrimitive;
 IAtomicStack;
 IWorkItem;
 IPeriodicItem;
 IThreadPool;

} // namespace Threading

Detailed Documentation

Thread information.

Threading interfaces and structures.

Typedefs

typedef void (CCL_API* ThreadLocalDestructor)(void *data)

TLS destructor function.

typedef int (CCL_API* ThreadFunction)(void *arg)

Thread function.

typedef void* WorkID

Thread work identifier.