PyRoot and threading: TProof::Process holds all other thread

Hi All,

I am trying to run the Process-method of thew TProof class in a seprate thread in my python script. For this I use the thread-module.

The problem is: No matter if I run the TProof::Process method in the main thread, or in a subthread, all other threads are suspended as soon as I run call the Process method, until it is finished.

Is there a way around this issue?

I am using root 5.34/05 compiled natively on ubuntu precise (Python 2.7.3).




sorry for the late reply, but I was traveling and did not see this message.

All PyROOT methods have a ‘_threaded’ parameter that determines whether the GIL gets released or not. The default is no release. So, set the TProof.Process._threaded to True to allow other threads to run at the same time.