* Updated cg_thread_isrunnable() to call pthread_testcancel() on Unix platform.