Dear Francesco
In fact, except for the logging system, the Chrono library should be thread-safe. (Well, you noticed also the realtime profiler stuff, that is optional anyway by using those flags you mentioned)
In the past there were some places using static variables and other tiny details precluding thread safety, but now those have been removed. Well, I am not saying that now I am 100% sure chrono is thread-safe and reentrant, but this is what we aim to.
Thank you for reporting the profiler and logger issues.
Alessandro Tasora
--
You received this message because you are subscribed to the Google Groups "ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email to projectchrono+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/4b05305a-fec4-455a-b829-e5a47f6e7754%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to projectchron...@googlegroups.com.
Hi Francesco,
I'm a bit confused, are you using Chrono::Parallel (doesn't sound like it)? easylogging is only used in Chrono::Parallel. If that gives you trouble and you'd like to disable it, you can try to do what we already do for MSVC (easylogging does not work with that); see file chrono_parallel/ChParallelDefines.h (lines 44-50). Or simply undefine LOGGINGENABLED (comment line 55).
--Radu
To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/CAHExjCsB65GF3bD_c-HB2O3iw8_skG64781WZUev7HSPCno-1Q%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/fad13889-63a3-a6ff-c598-e03d2716cf93%40wisc.edu.