diff options
author | Morgan Deters <mdeters@gmail.com> | 2010-10-05 22:24:09 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2010-10-05 22:24:09 +0000 |
commit | 4c9f8d2b58d274e5bfea5fa28b02f005af71ef39 (patch) | |
tree | 8db12e260b24978bbbed3363846f6daf7c0da04f /src/theory/interrupted.h | |
parent | 5e2f381b26d683691d9a040589536dc39c5831e0 (diff) |
parser and core support for SMT-LIBv2 commands get-info, set-option, get-option, get-assertions, get-value, define-sort, define-fun, and declare-sort with arity > 0; SmtEngine doesn't yet support most of these, but will shortly...
Diffstat (limited to 'src/theory/interrupted.h')
-rw-r--r-- | src/theory/interrupted.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/theory/interrupted.h b/src/theory/interrupted.h index 616d3da74..d8a54b1e4 100644 --- a/src/theory/interrupted.h +++ b/src/theory/interrupted.h @@ -11,9 +11,19 @@ ** See the file COPYING in the top-level source directory for licensing ** information.\endverbatim ** - ** \brief The theory output channel interface. + ** \brief An exception signaling that a Theory should immediately + ** stop performing processing ** - ** The theory output channel interface. + ** An exception signaling that a Theory should immediately stop + ** performing processing and relinquish control to its caller (e.g., + ** in a parallel environment). A Theory might be interrupted if it + ** calls into its CVC4::theory::OutputChannel, and it should only + ** catch this exception to perform emergency repair of any invariants + ** it must re-establish. Further, if this exception is caught by a + ** Theory, the Theory should rethrow the same exception (via "throw;" + ** in the exception block) rather than return, as the Interrupted + ** instance might contain additional information needed for the + ** proper management of CVC4 components. **/ #include "cvc4_private.h" |