52 if (m_goingToStop.loadRelaxed())
53 flags |= QEventLoop::ExcludeSocketNotifiers | QEventLoop::X11ExcludeTimers;
56 QOhosDeadlockProtector protector;
57 if (protector.acquire() && m_stopRequest.testAndSetAcquire(StopRequest, Stopping)) {
58 m_semaphore.acquire();
63 return QUnixEventDispatcherQPA::processEvents(flags);