Browse Source

...

synchronous
Volker Birk 5 years ago
parent
commit
9856eff624
  1. 2
      test/test_semaphore.cc

2
test/test_semaphore.cc

@ -17,7 +17,7 @@ int main()
semaphore.try_wait(); semaphore.try_wait();
cout << "1: and on go again\n"; cout << "1: and on go again\n";
semaphore.try_wait(); semaphore.try_wait();
cout << "1: keeping going\n"; cout << "1: keep going\n";
}); });
sleep(1); sleep(1);

Loading…
Cancel
Save