Skip to content

handle multi-threaded initialization #1

@bashbaug

Description

@bashbaug

Observed Behavior

Dispatch table initialization is not thread-safe.

Desired Behavior

Properly guard dispatch table initialization.

Steps to Reproduce

When the dispatch table pointer is NULL there are no guards to prevent multiple threads from initializing the dispatch table, which leads to a possible race condition. Need to add proper guards to handle multi-threaded applications.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions