From 5a686c5460e9fbb32af5014d0dbf1169ea301ec2 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 17 Mar 2017 12:40:02 +0200 Subject: Catch and dump unhandled exceptions in async task functions The problem with relying on noexcept for this is that there is no stack. --- build2/context | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build2/context') diff --git a/build2/context b/build2/context index bc73d5b..95030d8 100644 --- a/build2/context +++ b/build2/context @@ -138,7 +138,7 @@ namespace build2 // for (...) // { // sched.async (task_count, - // [] (...) + // [] (...) noexcept // { // phase_lock pl (run_phase::match); // (2) // ... -- cgit v1.1