Use libretro SDK threading functions directly