aboutsummaryrefslogtreecommitdiff
path: root/lib/objFile.ml
diff options
context:
space:
mode:
authorLasse Blaauwbroek2020-11-14 12:35:21 +0100
committerLasse Blaauwbroek2020-11-22 11:18:52 +0100
commit6eb6f55499647b9b5a72626839683f6dff9c1549 (patch)
treef19236e8f9ee6be3f6e09ed354911b4b4ddd7d07 /lib/objFile.ml
parent9a93f5836a5f7bab81384314ac11ff0aac7d1b7f (diff)
Fix timeout by ensuring signal exceptions are not erroneously caught
Fixes #7430 and fixes #10968 This commit makes the following changes: - Add an exception `Signal` used to convert OCaml signals to exceptions. `Signal` is registered as critical in `CErrors` to avoid being caught in the wrong `with` clauses. - Make `Control.timeout` into a safer interface based on `option` instead of exceptions. - Modify `tclTIMEOUT` to fail with `CErrors.Timeout` instead of `Logic_monad.Tac_timeout`, as was already advertised in the ocamldoc documentation. - Removes `Logic_monad.Tac_timeout` altogether because it no longer has a use.
Diffstat (limited to 'lib/objFile.ml')
0 files changed, 0 insertions, 0 deletions