Ignore:
Timestamp:
Sep 26, 2009, 2:34:55 AM (16 years ago)
Author:
Dmitry A. Kuminov
Message:

corelib: Don't break waiting on sync primitives because of ERROR_INTERRUPT that we get as a result of handling Posix signals (SIGCHILD at the moment).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/corelib/thread/qmutex_os2.cpp

    r176 r195  
    6868bool QMutexPrivate::wait(int timeout)
    6969{
    70     APIRET rc = DosWaitEventSem(sem, timeout < 0 ? SEM_INDEFINITE_WAIT : timeout);
     70    APIRET rc;
     71    qDosNI(rc = DosWaitEventSem(sem, timeout < 0 ? SEM_INDEFINITE_WAIT : timeout));
    7172    switch (rc) {
    7273        case NO_ERROR:
Note: See TracChangeset for help on using the changeset viewer.