Skip to content

Non-unique thread spawns #843

Closed
@sim642

Description

@sim642

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions