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/os2emx.h

    • Property cvs2svn:cvs-rev changed from 1.25 to 1.26
    r1675 r1676  
    1352913529APIRET APIENTRY DosCloseEventSemEx(HEV hev);
    1353013530
     13531/**
     13532 * Extended DosLoadModule() which will make sure the loaded module is
     13533 * loaded in a forked process.
     13534 */
     13535APIRET APIENTRY DosLoadModuleEx(PSZ pszObject, ULONG cbObject, PCSZ pszModule, PHMODULE phmod);
     13536
     13537/**
     13538 * Free module loaded using the extended APIs.
     13539 */
     13540APIRET APIENTRY DosFreeModuleEx(HMODULE hmod);
     13541
     13542
    1353113543#ifdef INCL_EXAPIS_MAPPINGS
    1353213544
     
    1354213554#define DosCloseEventSem(a)        DosCloseEventSemEx((a))
    1354313555
     13556#define DosLoadModule(a,b,c,d)     DosLoadModuleEx(a,b,c,d)
     13557#define DosFreeModule(a)           DosFreeModuleEx(a)
     13558
    1354413559#endif /* INCL_EXAPIS_MAPPINGS */
    1354513560
Note: See TracChangeset for help on using the changeset viewer.