From 0df6402725442f437bbac8cc64c13cb000a8c146 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6nke=20Ludwig?= Date: Fri, 16 Feb 2024 17:34:51 +0100 Subject: [PATCH] Fix ddoc warnings. --- source/vibe/core/concurrency.d | 2 +- source/vibe/core/taskpool.d | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/source/vibe/core/concurrency.d b/source/vibe/core/concurrency.d index 969ba5d1..fae10547 100644 --- a/source/vibe/core/concurrency.d +++ b/source/vibe/core/concurrency.d @@ -1242,7 +1242,7 @@ Future!(ReturnType!CALLABLE) asyncWork(CALLABLE, ARGS...)(CALLABLE callable, ARG Params: pool = Optional task pool instance to use, uses the default worker pool by default callable = Function or function-like object to call - must be weakly isolated and `nothrow` - args = Arguments to pass to callable - must be weakly isolated + arguments = Arguments to pass to callable - must be weakly isolated See_also: `isWeaklyIsolated`, `asyncWork` */ diff --git a/source/vibe/core/taskpool.d b/source/vibe/core/taskpool.d index 8d50d171..b2273480 100644 --- a/source/vibe/core/taskpool.d +++ b/source/vibe/core/taskpool.d @@ -36,6 +36,7 @@ shared final class TaskPool { Params: thread_count = The number of worker threads to create + thread_name_prefix = Optional prefix to use for thread names */ this(size_t thread_count = logicalProcessorCount(), string thread_name_prefix = "vibe") @safe nothrow {