Skip to content

Commit

Permalink
Initial hack to enforce uniqueness.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Dec 15, 2024
1 parent a0c5a2f commit 8b7bfae
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 8b7bfae

Please sign in to comment.