Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Thread Safe Question

Kitto
2010-01-21
2013-04-22
  • Kitto
    Kitto
    2010-01-21

    Is Json-Cpp thread safe?
    It looks to be, but I want to confirm it.

     
  • Json-cpp is designed to be thread-safe. Any failure to do so would be a bug.

     

  • Anonymous
    2012-12-04

    It seems 0.6.00 is NOT thread safe due to array and map allocators. There are even comments about it.

    /// @todo make this thread-safe (lock when accessign batch allocator)
    class DefaultValueArrayAllocator : public ValueArrayAllocator