feat/support_fiber #6

Merged
tqcq merged 52 commits from feat/support_fiber into master 2024-08-11 13:03:04 +08:00
2 changed files with 2 additions and 3 deletions
Showing only changes of commit 9830a33ea9 - Show all commits

View File

@ -101,7 +101,6 @@ TEST_F(CondVarTest, NotifyOne_WaitFor) {
SetWorker(new std::thread(WaitFor));
WaitStarted();
std::this_thread::sleep_for(kWaitTimeout / 2);
ASSERT_FALSE(is_set);
{

View File

@ -249,8 +249,8 @@ TEST(ScopedLock, TryLock) {
}
TEST(ScopedLock, MultiThread) {
constexpr std::size_t kThreadCount = 4;
constexpr std::size_t kLoopCount = 1000;
constexpr std::size_t kThreadCount = 5;
constexpr std::size_t kLoopCount = 10000;
int x = 0;
Mutex m;