From 8a0b0f5cf5bf4ab1f29ea54d82b7c60ffc14400f Mon Sep 17 00:00:00 2001 From: Christoffer Lerno Date: Sat, 28 Sep 2024 03:50:22 +0200 Subject: [PATCH] Disable fixed_pool where no threads are available. --- lib/std/threads/fixed_pool.c3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/threads/fixed_pool.c3 b/lib/std/threads/fixed_pool.c3 index 7fb72e9b6..84444a2e5 100644 --- a/lib/std/threads/fixed_pool.c3 +++ b/lib/std/threads/fixed_pool.c3 @@ -1,4 +1,4 @@ -module std::thread::threadpool; +module std::thread::threadpool @if (env::POSIX || env::WIN32); import std::thread; fault ThreadPoolResult