Skip to content

thread safety warnings #57

Description

@klaernie

I recently fell into the problem, that JSON prefers JSON::XS, which is not thread safe. However using JSON::PP works perfectly fine.

Would it be a good idea for JSON to either:

  • omit JSON::XS from the candidate list when loaded after threads
  • warn that JSON::XS can cause issues in a threaded environment

I'd hope that this could prevent another person not reading the entire documentation of JSON::XS from getting into weird crashes and spending a few days hunting down what caused it, until finally figuring it out.

Best regards,
Andre

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