[Linux] Sleep睡眠线程还是进程?

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/sai_j/article/details/82777888

sleep() causes the calling thread to sleep either until the number of
real-time seconds specified in seconds have elapsed or until a signal
arrives which is not ignored.

参考文献:
http://man7.org/linux/man-pages/man3/sleep.3.html

猜你喜欢

转载自blog.csdn.net/sai_j/article/details/82777888