mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-02-21 14:43:20 +00:00
As the type of pthread_t is unsigned long, so the init value for it should not be '-1'. When the tid is '-1', it will continue to call pthread_kill/pthread_join. This is incorrect. Tracked-On: #7960 Signed-off-by: Conghui <conghui.chen@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com> Acked-by: Wang, Yu1 <yu1.wang@intel.com>