Changeset 3370 for branches/libc-0.6


Ignore:
Timestamp:
May 27, 2007, 8:35:53 AM (18 years ago)
Author:
bird
Message:

perhaps we should exit all MCs before comitting suicide?

File:
1 edited

Legend:

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

    r2520 r3370  
    433433     * Terminate the process.
    434434     */
    435     LIBCLOG_MSG("Calling DosKillProcess()\n");
     435#if 0
     436    if (pTib->tib_ptib2->tib2_usMCCount)
     437    {
     438        ULONG       ulIgnore;
     439        unsigned    cMCExits = pTib->tib_ptib2->tib2_usMCCount;
     440        LIBCLOG_MSG("Calling DosExitMustComplete() %u times\n", cMCExits);
     441        while (cMCExits-- > 0)
     442            DosExitMustComplete(&ulIgnore);
     443    }
     444#endif
     445    LIBCLOG_MSG("Calling DosKillProcess() \n");
    436446    for (;;)
    437447    {
Note: See TracChangeset for help on using the changeset viewer.