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

Non-unique thread spawns #843

Closed
sim642 opened this issue Sep 30, 2022 · 1 comment · Fixed by #1187
Closed

Non-unique thread spawns #843

sim642 opened this issue Sep 30, 2022 · 1 comment · Fixed by #1187

Comments

@sim642
Copy link
Member

sim642 commented Sep 30, 2022

In some special cases it's desirable to spawn threads as non-unique right off the bat:

  1. Unknown functions which spawn create unique threads: Clean up some special functions #837 (comment). This is unsound and we should instead create the new thread immediately as non-unique.
  2. Klever stubs have a non-unique thread spawning function: Klever concurrency safety support #688 (comment).

An extra uniqueness argument needs to be added and passed from ctx.spawn to the threadid analysis through the numerous transfer functions involved.

@michael-schwarz
Copy link
Member

Unassigning myself as I currently do not plan on working on this the next few months.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants