diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-03-17 12:40:02 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-03-17 12:40:02 +0200 |
commit | 5a686c5460e9fbb32af5014d0dbf1169ea301ec2 (patch) | |
tree | aa219f442926ef4879acb2c14f7eead47f9f3d33 /build2/context | |
parent | de09beabe1448e9c6b401ec9acdd69ee5bf0f0e2 (diff) |
Catch and dump unhandled exceptions in async task functions
The problem with relying on noexcept for this is that there is no stack.
Diffstat (limited to 'build2/context')
-rw-r--r-- | build2/context | 2 |
1 files changed, 1 insertions, 1 deletions
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) // ... |