Analysis part in multi-threading mode

Hi experts!
I’m trying to write the analysis part in multi-threading mode and I have some questions.
Is it possible to use root? There are some good examples to follow?

Cheers,
Dayron.