CFx SDK Documentation  2022 SP0
Classes | Macros | Typedefs
OdMutex.h File Reference
#include "RootExport.h"
#include "TD_PackPush.h"
#include <pthread.h>
#include "TD_PackPop.h"

Go to the source code of this file.

Classes

class  OdMutex
 
class  OdMutexAutoLock
 

Macros

#define TD_AUTOLOCK(Mutex)   OdMutexAutoLock autoLock(Mutex);
 
#define TD_SINGLE_THREAD
 

Typedefs

typedef int OdRefCounter
 
typedef int OdVolatile
 

Macro Definition Documentation

◆ TD_AUTOLOCK

#define TD_AUTOLOCK (   Mutex)    OdMutexAutoLock autoLock(Mutex);

Definition at line 150 of file OdMutex.h.

◆ TD_SINGLE_THREAD

#define TD_SINGLE_THREAD

Definition at line 387 of file OdMutex.h.

Typedef Documentation

◆ OdRefCounter

typedef int OdRefCounter

This class implements reference counter with interlocked operations for Teigha objects.

Corresponding C++ library: TD_Root <group Other_Classes>

Definition at line 436 of file OdMutex.h.

◆ OdVolatile

typedef int OdVolatile

Definition at line 437 of file OdMutex.h.