Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Enumerations
OSD_LockType.hxx File Reference
#include <Standard_PrimitiveTypes.hxx>

Enumerations

enum  OSD_LockType { OSD_NoLock, OSD_ReadLock, OSD_WriteLock, OSD_ExclusiveLock }
 locks for files.
NoLock is the default value when opening a file.

ReadLock allows only one reading of the file at a time.

WriteLock prevents others writing into a file(excepted the user
who puts the lock)but allows everybody to read.

ExclusiveLock prevents reading and writing except for the
current user of the file.
So ExclusiveLock means only one user on the file and this
user is the one who puts the lock.
More...

Enumeration Type Documentation

Enumerator:
OSD_NoLock 
OSD_ReadLock 
OSD_WriteLock 
OSD_ExclusiveLock