Changeset 3947


Ignore:
Timestamp:
Dec 26, 2015, 7:48:17 PM (9 years ago)
Author:
bird
Message:

safesems.c: Use DosCloseMutexSemEx to close semaphore created by DosCreateMutexSemEx when racing replacing a dead sem.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified branches/libc-0.6/src/emx/src/lib/sys/safesems.c

    r2307 r3947  
    233233
    234234                /* beaten. */
    235                 DosCloseMutexSem(hmtxNew);
     235                DosCloseMutexSemEx(hmtxNew);
    236236                msSleep = 2;        /* force retry */
    237237                hmtx = pmtx->hmtx;
  • TabularUnified trunk/libc/src/kNIX/os2/safesems.c

    r3862 r3947  
    245245
    246246                /* beaten. */
    247                 DosCloseMutexSem(hmtxNew);
     247                DosCloseMutexSemEx(hmtxNew);
    248248                msSleep = 2;        /* force retry */
    249249                hmtx = pmtx->hmtx;
Note: See TracChangeset for help on using the changeset viewer.