Changeset 18772


Ignore:
Timestamp:
Apr 8, 2002, 1:25:22 PM (23 years ago)
Author:
sandervl
Message:

only shared for named critical section

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified tags/trunk/src/odincrt/critsect.cpp

    r18755 r18772  
    1 /* $Id: critsect.cpp,v 1.1 2002-04-07 14:35:24 sandervl Exp $ */
     1/* $Id: critsect.cpp,v 1.2 2002-04-08 11:25:22 sandervl Exp $ */
    22/*
    33 * Critical sections
     
    7474    crit->OwningThread   = 0;
    7575
    76     rc = DosCreateMutexSem(pszSemName, &crit->hmtxLock, DC_SEM_SHARED, FALSE);
     76    rc = DosCreateMutexSem(pszSemName, &crit->hmtxLock, (pszSemName) ? DC_SEM_SHARED : 0, FALSE);
    7777    if(rc != NO_ERROR) {
    7878        DebugInt3();
Note: See TracChangeset for help on using the changeset viewer.