Replacing ACE based multi threading with PCQ