diff options
Diffstat (limited to 'src/thread-pool.hpp')
| -rw-r--r-- | src/thread-pool.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/thread-pool.hpp b/src/thread-pool.hpp index 3afb99b..060b87a 100644 --- a/src/thread-pool.hpp +++ b/src/thread-pool.hpp @@ -6,9 +6,9 @@ #include <cstdint> #include <future> -struct ThreadPoolHandle : public pk_handle { }; +struct ThreadPoolHandle : public pk_bkt_arr_handle { }; -constexpr ThreadPoolHandle ThreadPoolHandle_MAX = ThreadPoolHandle{ pk_handle_MAX_constexpr }; +constexpr ThreadPoolHandle ThreadPoolHandle_MAX = ThreadPoolHandle{ pk_bkt_arr_handle_MAX_constexpr }; void PkeThreads_Init(); ThreadPoolHandle PkeThreads_Init (uint8_t threadCount, uint8_t maxQueueCount, struct pk_membucket *bkt = nullptr); |
