SharedState#
Fully qualified name: carb::extras::SharedState
Defined in carb/extras/HandleDatabase.h
- 
enum carb::extras::SharedState#
 Bitwise state values returned by carb::extras::HandleDatabase::getSharedState().
Values:
- 
enumerator eNotShared#
 The handle or mapped entry is not shared. If HandleDatabase::markShared() is always called before a handle can be used then this value guarantees that the calling thread has sole access to the mapped entry.
- 
enumerator eReferenced#
 The handle or mapped entry is shared by having a reference count over one.
- 
enumerator eMarkedShared#
 The handle for a mapped entry is marked as shared. Once marked as ‘shared’ in this fashion, the handle remains ‘shared’ for its lifetime. Marking as ‘shared’ means that a handle is known outside of the system that created it and can be used by any thread to increase the reference count.
- 
enumerator eNotShared#