Declaring a global barrier and initializing it locally

前端 未结 0 1133
有刺的猬
有刺的猬 2020-12-31 00:03

I have this implementation for a thread barrier

class my_barrier
{

public:
    my_barrier(int count)
        : thread_count(count)
        , counter(0)
              


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题