diff options
| author | 2010-05-21 19:28:34 -0500 | |
|---|---|---|
| committer | 2010-05-21 19:29:15 -0500 | |
| commit | 3c1ef411e7f08008ee7c2d91a5c608114c862ad5 (patch) | |
| tree | b360b21f93ddd6aef3c3321f83fbfca2a7c6faad /src/threadengines/threadengine_pthread.cpp | |
| parent | Remove misleading null statement (diff) | |
Use EFD_NONBLOCK in test creation of eventfd (makes it require glibc 2.8/linux 2.6.27)
Diffstat (limited to 'src/threadengines/threadengine_pthread.cpp')
| -rw-r--r-- | src/threadengines/threadengine_pthread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/threadengines/threadengine_pthread.cpp b/src/threadengines/threadengine_pthread.cpp index 904efa0c9..846eadd32 100644 --- a/src/threadengines/threadengine_pthread.cpp +++ b/src/threadengines/threadengine_pthread.cpp @@ -89,7 +89,7 @@ class ThreadSignalSocket : public BufferedSocket SocketThread::SocketThread(InspIRCd* SI) { - int fd = eventfd(0, O_NONBLOCK); + int fd = eventfd(0, EFD_NONBLOCK); if (fd < 0) throw new CoreException("Could not create pipe " + std::string(strerror(errno))); signal.sock = new ThreadSignalSocket(this, SI, fd); |
