示例#1
0
 ValueType operator()()
 {
   go_->count_down_and_wait();
   return q_->pull();
 }
示例#2
0
 void operator()()
 {
   go_->count_down_and_wait();
   q_->push(42);
 }