Skip to content

Tread-safety for Libs #174

@embetrix

Description

@embetrix

all the libraries built from this project have no thread-safety guarantees and are unsafe to use from multiple threads concurrently (exeption for piolib)

Depending on intended usage, options include:

  • add mutex serialization to each library (following piolib's pattern)

  • Replacing static return buffers with caller-provided buffers or thread-local storage

  • or document the libraries as single-threaded only

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions