Skip to content

Delay fiber free after suspend in cilk_sync#81

Open
VoxSciurorum wants to merge 2 commits into
OpenCilk:devfrom
VoxSciurorum:jfc/sync
Open

Delay fiber free after suspend in cilk_sync#81
VoxSciurorum wants to merge 2 commits into
OpenCilk:devfrom
VoxSciurorum:jfc/sync

Conversation

@VoxSciurorum

Copy link
Copy Markdown
Contributor

The runtime code that suspends at a sync may be running on the fiber that is about to be freed. Defer free until the runtime is definitely on another fiber.

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.

1 participant