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
RevLine 
[8200]1/* $Id: vmutex.h,v 1.6 2002-04-07 14:34:30 sandervl Exp $ */
[4]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
[8200]11#include <odincrt.h>
[4]12
13class VMutex
14{
15public:
[8200]16 VMutex();
[4]17 ~VMutex();
18
19public:
[8200]20 VOID enter() { DosEnterCriticalSection(&critsect); };
21 VOID leave() { DosLeaveCriticalSection(&critsect); };
[4]22
23protected:
[8200]24 CRITICAL_SECTION_OS2 critsect;
[4]25};
26
27#endif
Note: See TracBrowser for help on using the repository browser.