MCPcopy Create free account
hub / github.com/cameron314/concurrentqueue / spawn_root_and_wait

Method spawn_root_and_wait

benchmarks/tbb/task.h:720–722  ·  view source on GitHub ↗

Spawn task allocated by allocate_root, wait for it to complete, and deallocate it.

Source from the content-addressed store, hash-verified

718
719 //! Spawn task allocated by allocate_root, wait for it to complete, and deallocate it.
720 static void spawn_root_and_wait( task& root ) {
721 root.prefix().owner->spawn_root_and_wait( root, root.prefix().next );
722 }
723
724 //! Spawn root tasks on list and wait for all of them to finish.
725 /** If there are more tasks than worker threads, the tasks are spawned in

Callers 1

task.hFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected