[TASK] Make Token Reflection compatible with pthreads