SV fork-join
1.通过for循环和fork ... join_none建立N个独立的线程
其中automatic int k 是关键的地方

2.disable a thread:

3.disable multi thread:

4.disable a labed thread:

5.disable a task:

本文来自博客园,作者:hematologist,转载请注明原文链接:https://www.cnblogs.com/littleMa/p/9471881.html
posted on 2018-08-14 00:15 hematologist 阅读(800) 评论(0) 收藏 举报
浙公网安备 33010602011771号