Open CASCADE Technology 7.8.0
|
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... | |
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 |