Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to close preemptive scheduling? #45276

Closed
worldflyingct opened this issue Mar 29, 2021 · 1 comment
Closed

How to close preemptive scheduling? #45276

worldflyingct opened this issue Mar 29, 2021 · 1 comment

Comments

@worldflyingct
Copy link

I know preemptive scheduling need use cpu time. I wish scheduling just by IO.
How to close preemptive scheduling?
I can change golang source code, but I don't know where I need changed.

@agnivade
Copy link
Contributor

You can set the environment variable GODEBUG=asyncpreemptoff=1.

For any further questions, please feel free to ask it in any of these forums below:

Thanks

@golang golang locked and limited conversation to collaborators Mar 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants