Skip to content

Commit

Permalink
Add epoll_ng into ALL_ENGINES in photon.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Coldwings committed Jun 6, 2024
1 parent 206cb6d commit 921ef9a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion photon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ int __photon_init(uint64_t event_engine, uint64_t io_engine, const PhotonOptions
const uint64_t ALL_ENGINES =
INIT_EVENT_EPOLL | INIT_EVENT_EPOLL_NG |
INIT_EVENT_IOURING | INIT_EVENT_KQUEUE |
INIT_EVENT_SELECT | INIT_EVENT_IOCP;
INIT_EVENT_SELECT | INIT_EVENT_IOCP |
INIT_EVENT_EPOLL_NG;
if (event_engine & ALL_ENGINES) {
bool ok = false;
for (auto x : recommended_order) {
Expand Down

0 comments on commit 921ef9a

Please sign in to comment.