added platform_thread_posix.cc