Skip to content

Commit 354ab6c

Browse files
committed
^detatch
1 parent 480c3f3 commit 354ab6c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cpp/11.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -754,6 +754,7 @@ void threads_11()
754754
v = 4;
755755
});
756756
t3.detach();
757+
std::thread { []() { assert(1); } }.detach();
757758
}
758759
lento();
759760
assert(v == 4);

0 commit comments

Comments
 (0)