简体   繁体   中英

One thread ending the process

When a particular thread which is not main ends, I would like the parent process to end. How can i implement this?

Thanks

在该线程中调用_exit (而不是返回),整个过程将会死亡。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM