RenderManAPI  24.0
RixMutex Class Referenceabstract

NOTE: This interface is deprecated and will be removed in a future release A class that encapsulates a mutual exclusion object. More...

#include <RixInterfaces.h>

Public Member Functions

virtual ~RixMutex ()
 Virtual destructor. More...
 
virtual void Lock ()=0
 Lock access. More...
 
virtual void Unlock ()=0
 Unlock and allow access. More...
 

Detailed Description

NOTE: This interface is deprecated and will be removed in a future release A class that encapsulates a mutual exclusion object.

These are created via the RixThreadUtils interface. This object can be used to lock access to shared data to prevent contention from multiple threads.

NOTE: This is not a high performance implementation; for best performance one should utilize native platform locks.

Constructor & Destructor Documentation

◆ ~RixMutex()

virtual RixMutex::~RixMutex ( )
inlinevirtual

Virtual destructor.

Member Function Documentation

◆ Lock()

virtual void RixMutex::Lock ( )
pure virtual

Lock access.

◆ Unlock()

virtual void RixMutex::Unlock ( )
pure virtual

Unlock and allow access.


The documentation for this class was generated from the following file: