Skip to content
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.

Commit

Permalink
EFD_SEMAPHORE is the _opposite_ of what we want!
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie Turner committed Jun 13, 2013
1 parent 86bccf8 commit 309b7d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ nitro_socket_t *nitro_socket_new(nitro_sockopt_t *opt) {

if (us->opt->want_eventfd) {
#ifdef __linux__
us->event_fd = eventfd(0, EFD_NONBLOCK | EFD_SEMAPHORE);
us->event_fd = eventfd(0, EFD_NONBLOCK);
#else
int pipes[2];
int r = pipe(pipes);
Expand Down

0 comments on commit 309b7d9

Please sign in to comment.