Changeset 643


Ignore:
Timestamp:
Mar 7, 2010, 6:22:35 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

corelib: Protect against the frozen system when QSocketNotifier is given an unsupported socket (for example, an OS/2 file handle). There is still 100% CPU load in this case, but the application can be at least closed using normal means.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/corelib/kernel/qeventdispatcher_pm.cpp

    r564 r643  
    786786            mutex.unlock();
    787787            nsel = ::select(maxSockfd + 1, &tmpRead, &tmpWrite, &tmpEx, timeout);
     788
     789
     790
     791
     792
     793
    788794            mutex.lock();
    789795            if (nsel > 0) {
Note: See TracChangeset for help on using the changeset viewer.