make_tuple_promise, then_tuple

This commit is contained in:
2018-12-15 09:20:01 +07:00
parent 75177fb5f8
commit 8f5f7bc7ab
6 changed files with 382 additions and 44 deletions

View File

@@ -329,6 +329,7 @@ namespace jobber_hpp
if ( task ) {
lock.unlock();
task->run();
lock.lock();
--active_task_count_;
cond_var_.notify_all();
}