Skip to content

Commit

Permalink
Initial iocp implementation.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Jun 3, 2024
1 parent be39799 commit 85726df
Show file tree
Hide file tree
Showing 4 changed files with 1,073 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ext/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@
$srcs << "io/event/selector/kqueue.c"
end

if have_header('windows.h')
$srcs << "io/event/selector/iocp.c"
end

have_header('sys/eventfd.h')
$srcs << "io/event/interrupt.c"

Expand Down
1 change: 1 addition & 0 deletions ext/io/event/selector/epoll.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ void close_internal(struct IO_Event_Selector_EPoll *selector)
IO_Event_Interrupt_close(&selector->interrupt);
}
}

static
void IO_Event_Selector_EPoll_Type_free(void *_selector)
{
Expand Down
Loading

0 comments on commit 85726df

Please sign in to comment.