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

threads: further optimize scheduler based on #32551 #32599

Merged
merged 3 commits into from
Feb 21, 2020
Merged

Conversation

vtjnash
Copy link
Member

@vtjnash vtjnash commented Jul 16, 2019

and add some debugging aids, controlled by changing the JULIA_DEBUG_SLEEPWAKE() macro in julia_threads.h

@vtjnash vtjnash added performance Must go faster multithreading Base.Threads and related functionality labels Jul 16, 2019
@vtjnash vtjnash force-pushed the jn/32511-optim branch 2 times, most recently from 998b5ae to e8a60f5 Compare July 21, 2019 15:22
@vtjnash
Copy link
Member Author

vtjnash commented Jul 21, 2019

WTF? Why did the Linux buildbot fail and also segfault? The changes here are thought to be an obvious no-op.

@vtjnash
Copy link
Member Author

vtjnash commented Aug 16, 2019

I think this is acceptable to merge now. I'll add back the other couple changes in other PRs.

And add some debugging aids, controlled by changing the
`JULIA_DEBUG_SLEEPWAKE()` macro in `julia_threads.h`

Eliminates the `sleep_check_state` global,
equal to `any(ptls->sleep_check_state == true)`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
multithreading Base.Threads and related functionality performance Must go faster
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants