Linux C 实现一个简单的线程池(2)

[linuxidc@localhost Linux公社 ]$ ./linuxidc.com
Thread is waiting ....
Thread is waiting ....
Thread is waiting ....
threadid is 0xf65b5700, working on task 0
threadid is 0xf5db4700, working on task 1
threadid is 0xf55b3700, working on task 2
threadid is 0xf65b5700, working on task 3
threadid is 0xf5db4700, working on task 4
threadid is 0xf55b3700, working on task 5
threadid is 0xf65b5700, working on task 6
threadid is 0xf5db4700, working on task 7
threadid is 0xf55b3700, working on task 8
threadid is 0xf65b5700, working on task 9
Thread is waiting ....
Thread is waiting ....
Thread is waiting ....

Linux C 实现一个简单的线程池

Linux公社的RSS地址https://www.linuxidc.com/rssFeed.aspx

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/8a45ac20ebd0841df3b1b06441ef8724.html