UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
AtExitLock.H
1 /* AtExitLock.H */
2 /* $Id: AtExitLock.H,v 1.1 2001/04/18 16:20:16 vlad Exp $ */
3 #ifndef __AtExitLock_H
4 #define __AtExitLock_H
5 
6 #include <mix/wenv.h>
7 #include <mix/locks.h>
8 #include <mix/Lock.H>
9 
10 
11 /***********************************************************************
12  * Locks for action at exit.
13  ***********************************************************************/
14 
15 class AtExitLock : public Lock
16 {
17 public:
18 
19  /* Doing lock here */
20  AtExitLock (weAtExitHandlerProc proc);
21 
22  /* Doing unlock here */
23  virtual ~AtExitLock ();
24 
25 
26 private:
27 
28  /* Procedure to call */
29  weAtExitHandlerProc callproc;
30 
31 };
32 
33 
34 #endif /* AtExitLock.H */
Definition: Lock.H:36
Definition: AtExitLock.H:15