Skip to content

Add multiple threads to the sim executor#5225

Draft
jsdt wants to merge 49 commits into
masterfrom
jsdt/sim-threads
Draft

Add multiple threads to the sim executor#5225
jsdt wants to merge 49 commits into
masterfrom
jsdt/sim-threads

Conversation

@jsdt
Copy link
Copy Markdown
Contributor

@jsdt jsdt commented Jun 4, 2026

Description of Changes

This lets the sim executor run things with multiple threads, while still only letting one thread run at a time. That lets us run blocking tasks, and it lets us add yields in non-async functions, so the scheduler can generate more race conditions.

I started adding a mutex to this, and the next useful thing would probably be a channel.

Base automatically changed from shub/sim to master June 4, 2026 15:46
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.

3 participants