Skip to content

Conversation

@wouterwln
Copy link
Collaborator

Threading now works in quite a simple way. The Scheduler can dispatch different jobs to the different threads, but waits to collect all results from all tasks before moving to the next tick. In that way, we ensure that only one tick can be processed at every time, since the processing of a tick is an atomic job.

@wouterwln wouterwln linked an issue Sep 19, 2025 that may be closed by this pull request
@github-actions
Copy link

🤖 Code Formatting

Your PR still has some code formatting issues. I've updated PR #9 with the necessary formatting changes.

You can merge that PR into this branch to fix the code style check.

Alternatively, you can run make format locally and push the changes yourself.

This test will fail if a `TickedScheduler` does not wait until all jobs are completed before consuming a tick and moving to the next tick
@wouterwln wouterwln merged commit 5386bed into main Sep 19, 2025
4 checks passed
@wouterwln wouterwln deleted the 6-threading-scheduler branch September 19, 2025 12:05
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.

Threading scheduler

2 participants