Multithreading support

hi all

could someone tell me what multithreading platforms are supported by root ? The manual documents only pthread support .
are any concurrency platforms like OpenMP supported ? if yes then would i have to do anything specific to get OpenMP specific pragma definitions to work ?

thanks a lot.


ROOT supports pthreads and Windows threads via the TThread class. There are no special provisions for OpenMP. Just use it like you normally would.

Cheers, Fons.

thx for the reply.

when i run my code i get an error saying "cannot open file omp.h " , so is it not needed or will CINT ignore the pragmas altogether ?

If you’ve omp.h in a header that is being processed by CINT then CINT might have problems with it. Do something like we do in

Cheers, Fons.