Interface that serves as the base interface for all the externally exposed interfaces which needs to provide client configurable thread safety. More...
#include <IThreadSafe.h>
Public Member Functions | |
virtual void APICALL | EnableThreadSafety () const __NOTHROW__=0 |
Enables the thread safety on an object. More... | |
virtual void APICALL | DisableThreadSafety () const __NOTHROW__=0 |
Disables the thread safety on an object. More... | |
virtual bool APICALL | IsThreadSafe () const =0 |
Informs whether object can be used across multiple threads or not. More... | |
Protected Member Functions | |
REQ_FRIEND_CLASS_DECLARATION () | |
Interface that serves as the base interface for all the externally exposed interfaces which needs to provide client configurable thread safety.
Definition at line 27 of file IThreadSafe.h.
|
pure virtual |
Disables the thread safety on an object.
After calling this function the object should not be used across multiple threads.
|
pure virtual |
Enables the thread safety on an object.
After calling this function the object can be used across multiple threads.
|
pure virtual |
Informs whether object can be used across multiple threads or not.
|
protected |