source: trunk/include/vmutex.h@ 9969

Last change on this file since 9969 was 8200, checked in by sandervl, 23 years ago

header updates

File size: 449 bytes
Line 
1/* $Id: vmutex.h,v 1.6 2002-04-07 14:34:30 sandervl Exp $ */
2
3/*
4 *
5 * Project Odin Software License can be found in LICENSE.TXT
6 *
7 */
8#ifndef __VMUTEX_H__
9#define __VMUTEX_H__
10
11#include <odincrt.h>
12
13class VMutex
14{
15public:
16 VMutex();
17 ~VMutex();
18
19public:
20 VOID enter() { DosEnterCriticalSection(&critsect); };
21 VOID leave() { DosLeaveCriticalSection(&critsect); };
22
23protected:
24 CRITICAL_SECTION_OS2 critsect;
25};
26
27#endif
Note: See TracBrowser for help on using the repository browser.