patch 4.0

This commit is contained in:
wangzelin.wzl
2022-10-24 10:34:53 +08:00
parent 4ad6e00ec3
commit 93a1074b0c
10533 changed files with 2588271 additions and 2299373 deletions

View File

@ -18,18 +18,14 @@ TEST(TestScond, Basic)
{
TIME_LESS(200000l, [] {
SCond cond;
cotesting::FlexPool(
[&cond] {
cond.prepare();
cond.wait(100000l);
},
1,
10)
.start();
cotesting::FlexPool([&cond] {
cond.prepare();
cond.wait(100000l);
}, 1, 10).start();
});
}
int main(int argc, char* argv[])
int main(int argc, char *argv[])
{
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();