Changeset 3370


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

perhaps we should exit all MCs before comitting suicide?

Files:
2 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    {
  • trunk/libc/src/kNIX/os2/b_panic.c

    r2929 r3370  
    418418     * Terminate the process.
    419419     */
     420#if 0
     421    if (pTib->tib_ptib2->tib2_usMCCount)
     422    {
     423        ULONG       ulIgnore;
     424        unsigned    cMCExits = pTib->tib_ptib2->tib2_usMCCount;
     425        LIBCLOG_MSG("Calling DosExitMustComplete() %u times\n", cMCExits);
     426        while (cMCExits-- > 0)
     427            DosExitMustComplete(&ulIgnore);
     428    }
     429#endif
    420430    LIBCLOG_MSG("Calling DosKillProcess()\n");
    421431    for (;;)
Note: See TracChangeset for help on using the changeset viewer.