runWorkerTaskDistH

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

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

  1. void runWorkerTaskDistH(HCB on_handle, FT func, ARGS args)
  2. void runWorkerTaskDistH(TaskSettings settings, HCB on_handle, FT func, ARGS args)
  3. void runWorkerTaskDistH(HCB on_handle, FT func, ARGS args)
  4. void runWorkerTaskDistH(TaskSettings settings, HCB on_handle, FT func, ARGS args)
    deprecated
    void
    runWorkerTaskDistH
    (
    HCB
    FT
    ARGS...
    )
    (
    TaskSettings settings
    ,
    scope HCB on_handle
    ,
    FT func
    ,
    auto ref ARGS args
    )
    if (
    isFunctionPointer!FT &&
    isCallable!(FT, ARGS)
    &&
    !isNothrowCallable!(FT, ARGS)
    )

See Also

runWorkerTaskDist

Meta