mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
parent
781c34f6a4
commit
bc6d82c560
@ -72,7 +72,8 @@ void SocketEvents::InitializeThread(void)
|
||||
{
|
||||
for (int i = 0; i < SOCKET_IOTHREADS; i++) {
|
||||
#ifdef __linux__
|
||||
l_SocketIOPollFDs[i] = epoll_create1(EPOLL_CLOEXEC);
|
||||
l_SocketIOPollFDs[i] = epoll_create(128);
|
||||
Utility::SetCloExec(l_SocketIOPollFDs[i]);
|
||||
#endif /* __linux__ */
|
||||
|
||||
Socket::SocketPair(l_SocketIOEventFDs[i]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user