UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
FileLock Class Reference

#include <FileLock.H>

Inheritance diagram for FileLock:
Lock DbLockTable

Public Member Functions

 FileLock (const char *path)
 
virtual ~FileLock ()
 
- Public Member Functions inherited from Lock
 Lock ()
 
virtual ~Lock ()
 
LockId lock_id () const
 

Additional Inherited Members

- Protected Member Functions inherited from Lock
void lock ()
 
void unlock ()
 
- Static Protected Attributes inherited from Lock
static LocksAr * plocksar
 

Detailed Description

Lock based on file creation. Extends class Lock by file-based exclusive lock. Explores open(path,O_CREAT|O_EXCL) feature to fail or to succeed.

Constructor & Destructor Documentation

FileLock::FileLock ( const char *  path)

Doing lock here

virtual FileLock::~FileLock ( )
virtual

Doing unlock here


The documentation for this class was generated from the following file: