Skip to content

disable MN scheduler on !USE_MN_THREADS#8640

Merged
ko1 merged 1 commit intoruby:masterfrom
ko1:disable_mn_threads_on_mn_unsupported_env
Oct 12, 2023
Merged

disable MN scheduler on !USE_MN_THREADS#8640
ko1 merged 1 commit intoruby:masterfrom
ko1:disable_mn_threads_on_mn_unsupported_env

Conversation

@ko1
Copy link
Copy Markdown
Contributor

@ko1 ko1 commented Oct 12, 2023

!USE_MN_THREADS platforms (== non Linux platform now) enable_mn_threads should be false.

@jeremyevans
Copy link
Copy Markdown
Contributor

Is there a plan to support USE_MN_THREADS on non-Linux platforms? Which Linux-specific APIs does it currently use?

@ko1
Copy link
Copy Markdown
Contributor Author

ko1 commented Oct 12, 2023

It uses epoll and kqueue support is needed.

@ko1 ko1 merged commit 2dca02e into ruby:master Oct 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants