Ignore:
Timestamp:
Dec 9, 2000, 8:19:42 PM (25 years ago)
Author:
umoeller
Message:

Major updates; timers, LVM, miscellaneous.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/helpers/threads.c

    r8 r14  
    2424/*
    2525 *      Copyright (C) 1997-2000 Ulrich M”ller.
    26  *      This file is part of the XWorkplace source package.
    27  *      XWorkplace is free software; you can redistribute it and/or modify
     26 *      This file is part of the "XWorkplace helpers" source package.
     27 *      This is free software; you can redistribute it and/or modify
    2828 *      it under the terms of the GNU General Public License as published
    2929 *      by the Free Software Foundation, in version 2 as it comes in the
     
    102102            ((PTHREADFUNC)pti->pThreadFunc)(pti);
    103103
     104        if (pti->flFlags & THRF_WAIT)
     105            // "Wait" flag set: delete semaphore
     106            DosCloseEventSem(pti->hevRunning);
     107
    104108        // thread func returns:
    105109        pti->fExitComplete = TRUE;
    106110        pti->tid = NULLHANDLE;
    107 
    108         if (pti->flFlags & THRF_WAIT)
    109             // "Wait" flag set: delete semaphore
    110             DosCloseEventSem(pti->hevRunning);
    111111
    112112        if (pti->pfRunning)
Note: See TracChangeset for help on using the changeset viewer.