[PD-dev] Using PD funcs from inside a threaded external