Open CASCADE Technology  7.0.0
Enumerations

OSD_LockType.hxx File Reference

Enumerations

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

Enumeration Type Documentation

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.

Enumerator
OSD_NoLock 
OSD_ReadLock 
OSD_WriteLock 
OSD_ExclusiveLock