Skip to content

Commit

Permalink
AIX use poll(2) Selector by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry Jiang committed Oct 2, 2024
1 parent d8d68ac commit dac1025
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/poll.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
unix,
not(mio_unsupported_force_poll_poll),
not(any(
target_os = "aix",
target_os = "espidf",
target_os = "fuchsia",
target_os = "haiku",
Expand Down Expand Up @@ -440,6 +441,7 @@ impl Poll {
unix,
not(mio_unsupported_force_poll_poll),
not(any(
target_os = "aix",
target_os = "espidf",
target_os = "fuchsia",
target_os = "haiku",
Expand Down Expand Up @@ -740,6 +742,7 @@ impl fmt::Debug for Registry {
unix,
not(mio_unsupported_force_poll_poll),
not(any(
target_os = "aix",
target_os = "espidf",
target_os = "haiku",
target_os = "fuchsia",
Expand Down
1 change: 1 addition & 0 deletions src/sys/unix/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ cfg_os_poll! {
), path = "selector/kqueue.rs")]
#[cfg_attr(any(
mio_unsupported_force_poll_poll,
target_os = "aix",
target_os = "espidf",
target_os = "fuchsia",
target_os = "haiku",
Expand Down

0 comments on commit dac1025

Please sign in to comment.