Ignore:
Timestamp:
Dec 2, 2004, 2:42:51 AM (21 years ago)
Author:
bird
Message:

Fixed fork() problem by adding DosLoadModuleEx and DosFreeModuleEx. (also fixed heap problem)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/sys/fmutex.h

    • Property cvs2svn:cvs-rev changed from 1.4 to 1.5
    r1675 r1676  
    100100}
    101101
     102/**
     103 * Release a semaphore in the child process after the
     104 * semaphore was locked for the forking the parent.
     105 *
     106 * @param   pSem    Semaphore to unlock.
     107 */
     108static __inline__ void _fmutex_release_fork(_fmutex *pSem)
     109{
     110    pSem->fs = _FMS_AVAILABLE;
     111    pSem->Owner = 0;
     112}
    102113
    103114unsigned _fmutex_create (_fmutex *, unsigned);
Note: See TracChangeset for help on using the changeset viewer.