Multithread support to query pru