Skip to content

handle multi-threaded initialization #1

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.

Activity

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

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