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.

     
  • Baptiste Lepilleur

    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
    
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks