You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that in e4c_lite.h you mark e4c as threadprivate, which looks like an OpenMP directive. Does that mean it will be safe with multiple threads even if I'm not doing anything else OpenMP related?
The text was updated successfully, but these errors were encountered:
The lightweight version of the library does not support complex multithreading. However, OpenMP directives are safe to use; and it might as well be safe to use C11 threads if e4c was specified as _Thread_local (I haven't thoroughly tested it yet).
Anyway, if you really need pthreads then you can use the standard version of exceptions4c and define the preprocessor macro E4C_THREADSAFE so that it is compiled in thread-safe mode.
I noticed that in e4c_lite.h you mark
e4c
as threadprivate, which looks like an OpenMP directive. Does that mean it will be safe with multiple threads even if I'm not doing anything else OpenMP related?The text was updated successfully, but these errors were encountered: