aboutsummaryrefslogtreecommitdiff
path: root/core/thread/thread_pool.odin
diff options
context:
space:
mode:
authorFlorian Behr <mail@florianbehr.de>2022-04-25 13:41:39 +0200
committerFlorian Behr <mail@florianbehr.de>2022-04-25 13:41:39 +0200
commitca6a1db7576dd72f5a5b4b73fec8cbad34e5bced (patch)
tree162ac204e7c82fcab1f9f4e4919f4887f70cdb15 /core/thread/thread_pool.odin
parent1fb76ad7687bc9efe538b79ac05dc0fafad06950 (diff)
fix doc comment for pool_init
Diffstat (limited to 'core/thread/thread_pool.odin')
-rw-r--r--core/thread/thread_pool.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/thread/thread_pool.odin b/core/thread/thread_pool.odin
index fe289d8aa..4fc02309e 100644
--- a/core/thread/thread_pool.odin
+++ b/core/thread/thread_pool.odin
@@ -44,7 +44,7 @@ Pool :: struct {
}
// Once initialized, the pool's memory address is not allowed to change until
-// it is destroyed. If thread_count < 1, thread count 1 will be used.
+// it is destroyed.
//
// The thread pool requires an allocator which it either owns, or which is thread safe.
pool_init :: proc(pool: ^Pool, thread_count: int, allocator: mem.Allocator) {