- wxLogError(_("Failed to create wake up pipe used by event loop."));
- return false;
- }
-
- const int fdRead = GetReadFd();
-
- int flags = fcntl(fdRead, F_GETFL, 0);
- if ( flags == -1 || fcntl(fdRead, F_SETFL, flags | O_NONBLOCK) == -1 )
- {
- wxLogSysError(_("Failed to switch wake up pipe to non-blocking mode"));
- return false;