Ignore:
Timestamp:
Aug 28, 1999, 9:33:44 PM (26 years ago)
Author:
sandervl
Message:

Exception handler fixes

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:25 sandervl Exp $ */
     1/* $Id: vmutex.cpp,v 1.6 1999-08-28 19:33:44 sandervl Exp $ */
    22
    33/*
     
    1818/******************************************************************************/
    1919/******************************************************************************/
    20 VMutex::VMutex() : waiting(0)
     20VMutex::VMutex(int fShared) : waiting(0)
    2121{
    2222 APIRET rc;
    2323
    24   rc = DosCreateMutexSem(NULL, &sem_handle, 0, FALSE);
     24  rc = DosCreateMutexSem(NULL, &sem_handle, (fShared) ? DC_SEM_SHARED : 0, FALSE);
    2525  if(rc != 0) {
    2626    dprintf(("Error creating mutex %X\n", rc));
Note: See TracChangeset for help on using the changeset viewer.