Changeset 2427 for trunk


Ignore:
Timestamp:
Nov 12, 2005, 11:06:34 PM (20 years ago)
Author:
bird
Message:

Fixed bug in the sigsuspend (includes pause ++) handling, would usually never return.

Location:
trunk/src/emx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/ChangeLog.LIBC

    r2426 r2427  
    22
    33TODO: open replace on RAMFS fails with error 32!
     4
     52005-11-12: knut st. osmundsen <bird-gccos2-spam@anduin.net>
     6    - libc:
     7        o Fixed bug in the sigsuspend (includes pause ++) handling,
     8          would usually never return.
    49
    5102005-10-31: knut st. osmundsen <bird-gccos2-spam@anduin.net>
  • trunk/src/emx/src/lib/sys/signals.c

    r2426 r2427  
    17541754        /*
    17551755         * Check if the thread is waiting in a sigsuspend, because in that
    1756          * event we'll have to tell it that's the waiting is done.
     1756         * case we'll have to tell it that the waiting is over.
    17571757         */
    17581758        else if (   pThrd->enmStatus == enmLIBCThreadStatus_sigsuspend
    17591759                 && SigAction.__sigaction_u.__sa_handler != SIG_IGN
    1760                  && (gafSignalProperties[iSignalNo] & SPA_MASK) != SPA_IGNORE
    1761                  && (gafSignalProperties[iSignalNo] & SPA_MASK) != SPA_NEXT
    17621760                 && (gafSignalProperties[iSignalNo] & SPA_MASK) != SPA_STOP
    17631761                 && (gafSignalProperties[iSignalNo] & SPA_MASK) != SPA_STOPTTY
    1764                  && (gafSignalProperties[iSignalNo] & SPA_MASK) != SPA_RESUME
     1762                 /*&& (gafSignalProperties[iSignalNo] & SPA_MASK) != SPA_NEXT ??*/
     1763                 /*&& (gafSignalProperties[iSignalNo] & SPA_MASK) != SPA_RESUME ??*/
    17651764                 )
    17661765        {
Note: See TracChangeset for help on using the changeset viewer.