Changeset 730 for trunk/src/kernel32/vmutex.cpp
- Timestamp:
- Aug 28, 1999, 9:33:44 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/vmutex.cpp
r657 r730 1 /* $Id: vmutex.cpp,v 1. 5 1999-08-24 12:23:25sandervl Exp $ */1 /* $Id: vmutex.cpp,v 1.6 1999-08-28 19:33:44 sandervl Exp $ */ 2 2 3 3 /* … … 18 18 /******************************************************************************/ 19 19 /******************************************************************************/ 20 VMutex::VMutex( ) : waiting(0)20 VMutex::VMutex(int fShared) : waiting(0) 21 21 { 22 22 APIRET rc; 23 23 24 rc = DosCreateMutexSem(NULL, &sem_handle, 0, FALSE);24 rc = DosCreateMutexSem(NULL, &sem_handle, (fShared) ? DC_SEM_SHARED : 0, FALSE); 25 25 if(rc != 0) { 26 26 dprintf(("Error creating mutex %X\n", rc));
Note:
See TracChangeset
for help on using the changeset viewer.