TaskPool.runTaskDistH

Runs a new asynchronous task in all worker threads and returns the handles.

on_handle is an alias to a callble that takes a Task as its only argument and is called for every task instance that gets created.

  1. void runTaskDistH(HCB on_handle, FT func, ARGS args)
  2. void runTaskDistH(TaskSettings settings, HCB on_handle, FT func, ARGS args)
    class TaskPool
    void
    runTaskDistH
    (
    HCB
    FT
    ARGS...
    )
    (,
    scope HCB on_handle
    ,
    FT func
    ,
    auto ref ARGS args
    )

See Also

runTaskDist

Meta