source: CMT/v1r23/source/cmt_lock.h

Last change on this file was 11, checked in by arnault, 19 years ago

Changing eol-style property

  • Property svn:eol-style set to native
File size: 549 bytes
Line 
1//-----------------------------------------------------------
2// Copyright Christian Arnault LAL-Orsay CNRS
3// arnault@lal.in2p3.fr
4// See the complete license in cmt_license.txt "http://www.cecill.info".
5//-----------------------------------------------------------
6
7#ifndef __cmt_lock_h__
8#define __cmt_lock_h__
9
10class CmtLock
11{
12public:
13        typedef enum 
14        {
15                locked_by_user, 
16                locked_by_another_user, 
17                not_locked,
18                still_locked,
19                still_unlocked
20        } status;
21
22        static status lock ();
23        static status unlock ();
24        static status check ();
25};
26
27#endif
Note: See TracBrowser for help on using the repository browser.