Skip to content

Commit

Permalink
Unique per-pid/file descriptor.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Dec 15, 2024
1 parent b41c944 commit c4c20bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/io/event/selector/epoll.c
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ VALUE IO_Event_Selector_EPoll_process_wait(VALUE self, VALUE fiber, VALUE _pid,

RB_OBJ_WRITTEN(self, Qundef, fiber);

int result = IO_Event_Selector_EPoll_Waiting_register(selector, 0, descriptor, &waiting);
int result = IO_Event_Selector_EPoll_Waiting_register(selector, _pid, descriptor, &waiting);

if (result == -1) {
close(descriptor);
Expand Down

0 comments on commit c4c20bb

Please sign in to comment.