Changeset 2074


Ignore:
Timestamp:
Jun 26, 2005, 12:31:53 AM (20 years ago)
Author:
bird
Message:

Fixed FS bug.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/src/emx/src/lib/process/fmutex.c

    • Property cvs2svn:cvs-rev changed from 1.10 to 1.11
    r2073 r2074  
    189189    }
    190190
     191    FS_SAVE_LOAD();
    191192    DosEnterMustComplete(&ulNesting);
    192193    fs = __cxchg(&sem->fs, _FMS_OWNED_SIMPLE);
     
    205206        {
    206207            LIBC_ASSERTM_FAILED("Failed to create event semaphore for fmutex '%s', rc=%d. flags=%#x\n", sem->pszDesc, rc, sem->flags);
     208            FS_RESTORE();
    207209            LIBCLOG_RETURN_UINT(ERROR_INVALID_HANDLE);
    208210        }
     
    211213            LIBCLOG_MSG("auto initialized fmutex %p '%s'\n", (void *)sem, sem->pszDesc);
    212214            __atomic_xchg(&sem->Owner, fibGetTidPid());
     215            FS_RESTORE();
    213216            LIBCLOG_RETURN_UINT(NO_ERROR);
    214217        }
Note: See TracChangeset for help on using the changeset viewer.