Skip to content

Commit

Permalink
must call raw select() from thread_blocking_region
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm1 committed Feb 10, 2015
1 parent 3fe8379 commit 828f7b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/em.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -877,7 +877,7 @@ _SelectDataSelect
static VALUE _SelectDataSelect (void *v)
{
SelectData_t *sd = (SelectData_t*)v;
sd->nSockets = rb_fd_select (sd->maxsocket+1, &(sd->fdreads), &(sd->fdwrites), &(sd->fderrors), &(sd->tv));
sd->nSockets = select (sd->maxsocket+1, &(sd->fdreads), &(sd->fdwrites), &(sd->fderrors), &(sd->tv));
return Qnil;
}
#endif
Expand Down

0 comments on commit 828f7b3

Please sign in to comment.