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:

 

posted on 2018-08-14 00:15  hematologist  阅读(743)  评论(0编辑  收藏  举报

导航