mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2024-12-13 10:22:55 +01:00
Make it a bit more multithreading friendly
This commit is contained in:
parent
ac372d2b00
commit
86f085b810
@ -45,7 +45,11 @@
|
||||
#endif
|
||||
|
||||
static int const stackLimit_g = 1000;
|
||||
#if __cplusplus >= 201103L
|
||||
thread_local static int stackDepth_g = 0; // see readValue()
|
||||
#else
|
||||
static int stackDepth_g = 0; // see readValue()
|
||||
#endif
|
||||
|
||||
namespace Json {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user