Thread-safety of TRef

Hi!

Does anyone know if TRef::operator= and TRef::GetObject() are thread-safe?

[Edit:] After my most recent tests they appear to be thread-safe. I had problems when using parallelization based on HPX, but using TThreads resulted in no problems so far.

Cheers,
Jochen

Hi,

you can always refer to these examples when writing parallel code (both according to multithreaded and multiprocess paradigms).
Starting from ROOT 6.06, you can use any threading model provided that you activate thread safety barriers in ROOT with the line

ROOT::EnableThreadSafety();

Cheers,
Danilo