Fix parameter documentation syntax. Fixes #103.
This commit is contained in:
parent
cccf45cfea
commit
dfd7d97225
|
@ -1123,9 +1123,9 @@ struct Future(T) {
|
||||||
used and the result is computed within a separate task within the calling thread.
|
used and the result is computed within a separate task within the calling thread.
|
||||||
|
|
||||||
Params:
|
Params:
|
||||||
callable: A callable value, can be either a function, a delegate, or a
|
callable = A callable value, can be either a function, a delegate, or a
|
||||||
user defined type that defines an $(D opCall).
|
user defined type that defines an $(D opCall).
|
||||||
args: Arguments to pass to the callable.
|
args = Arguments to pass to the callable.
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
Returns a $(D Future) object that can be used to access the result.
|
Returns a $(D Future) object that can be used to access the result.
|
||||||
|
|
|
@ -35,7 +35,7 @@ shared final class TaskPool {
|
||||||
/** Creates a new task pool with the specified number of threads.
|
/** Creates a new task pool with the specified number of threads.
|
||||||
|
|
||||||
Params:
|
Params:
|
||||||
thread_count: The number of worker threads to create
|
thread_count = The number of worker threads to create
|
||||||
*/
|
*/
|
||||||
this(size_t thread_count = logicalProcessorCount())
|
this(size_t thread_count = logicalProcessorCount())
|
||||||
@safe {
|
@safe {
|
||||||
|
|
Loading…
Reference in a new issue