Testing Spices::Semaphore::Increase.
Definition at line 40 of file Semaphore_test.h.
40 {
41
43
45
46 std::thread t([&]() {
47 std::this_thread::sleep_for(std::chrono::seconds(1));
49 });
50
51
53
54 t.join();
55
56
58 }
#define SPICESTEST_PROFILE_FUNCTION()
void Increase()
Increase this semaphore sign.
const int GetSign() const
Get this semaphore current sign.
std::semaphore Implementation.
References Spices::semaphore::GetSign(), and Spices::semaphore::Increase().