Skip to content

Simplify misc scheduler-related code#2352

Merged
stevenengler merged 6 commits intoshadow:mainfrom
stevenengler:simplify-sched
Aug 11, 2022
Merged

Simplify misc scheduler-related code#2352
stevenengler merged 6 commits intoshadow:mainfrom
stevenengler:simplify-sched

Conversation

@stevenengler
Copy link
Copy Markdown
Contributor

No description provided.

It seems weird to destory the hash tables without a lock before calling
`workerpool_joinAll()`.
Now that the host maintains its own event queue, we don't need to wait until
the workers are initialized to be able to schedule events. This seems like a
more logical place to schedule process events.
@stevenengler stevenengler self-assigned this Aug 11, 2022
@github-actions github-actions bot added the Component: Main Composing the core Shadow executable label Aug 11, 2022
@stevenengler stevenengler merged commit f62d177 into shadow:main Aug 11, 2022
@stevenengler stevenengler deleted the simplify-sched branch August 11, 2022 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component: Main Composing the core Shadow executable

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants