From 64d9f8094cb3a393ba0fed145461e39d0156ef98 Mon Sep 17 00:00:00 2001 From: Dnomd343 Date: Fri, 21 Apr 2023 23:57:39 +0800 Subject: [PATCH] chore: update tiny thread pool --- test/group/group_info.cc | 3 +-- third_party/tiny_thread_pool | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/test/group/group_info.cc b/test/group/group_info.cc index f052851..c529b6e 100644 --- a/test/group/group_info.cc +++ b/test/group/group_info.cc @@ -68,8 +68,7 @@ TEST(Group, group_info) { for (uint32_t type_id = 0; type_id < TYPE_ID_LIMIT; ++type_id) { pool.submit(test, GroupType(type_id)); } - pool.boot(); - pool.join(); + pool.boot().join(); } // TODO: add group_info FAST mode diff --git a/third_party/tiny_thread_pool b/third_party/tiny_thread_pool index 40068b9..e64e604 160000 --- a/third_party/tiny_thread_pool +++ b/third_party/tiny_thread_pool @@ -1 +1 @@ -Subproject commit 40068b99d6406ec0d0418773f0080c2ee247f165 +Subproject commit e64e6047f1d4203576fe5fb37a8222630a6d0506