mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
tests/cpp11_condition_variable: reduce thread number
This commit is contained in:
parent
eb9d2fb5b4
commit
235e024483
@ -79,7 +79,6 @@ int main() {
|
||||
thread t1(waits);
|
||||
thread t2(waits);
|
||||
thread t3(waits);
|
||||
thread t4(waits);
|
||||
thread([&m, &cv] {
|
||||
unique_lock<mutex> lk(m);
|
||||
cv.notify_all();
|
||||
@ -87,7 +86,6 @@ int main() {
|
||||
t1.join();
|
||||
t2.join();
|
||||
t3.join();
|
||||
t4.join();
|
||||
}
|
||||
puts("Done\n");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user