MCPcopy Create free account
hub / github.com/NVIDIA/DALI / GuardWith

Method GuardWith

include/dali/core/exec/tasking/task.h:538–542  ·  view source on GitHub ↗

Guards the execution of the task with a waitable/releasable object. * * Equivalent to Succeed + ReleaseAfterRun. */

Source from the content-addressed store, hash-verified

536 * Equivalent to Succeed + ReleaseAfterRun.
537 */
538 Task *GuardWith(std::shared_ptr<Releasable> releasable) {
539 Succeed(releasable);
540 ReleaseAfterRun(std::move(releasable));
541 return this;
542 }
543
544 /** Executes the task. */
545 void Run();

Callers 2

TESTFunction · 0.80
CreateAuxTasksMethod · 0.80

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.64