Spawn task allocated by allocate_root, wait for it to complete, and deallocate it.
| 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 |