Skip to content

C-API: support multiple threads #21

@HeyImJordi

Description

@HeyImJordi

Currently it is impossible to use the C API in a multi-threaded context, if multiple threads simultaneously want to create contact points. This is caused by the API passing indices to the global cpTable variable around.

The API should be changed e.g. to pass opaque pointers insted of indices. It should be verified (e.g. using TSan) that multi-threaded access works without data races.

Metadata

Metadata

Assignees

No one assigned

    Labels

    isState:ClassifiedAn issue that has a type and that needs to be accepted by the group.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions