You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Try-Catch blocks for C
2
2
3
-
Small experiment that simulates try-catch blocks in C using `setjmp`/`longjmp`. Please note that it doesn't support nested try blocks and it is not thread safe.
3
+
Small experiment that simulates try-catch blocks in C using `setjmp`/`longjmp`. Please note that it doesn't support nested try blocks and it is not thread safe. Throwing outside of try blocks has undefined behaviour unless `NO_THROW` is defined. **Signals that are not caught will not stop the program and will lead to the execution being continued normally after the try block.**
4
4
5
5
It can handle exceptions and signals. It can simulate the functionality of `try`, `catch(exception)`, `catch(signal)`, `catch_all` and `finally`. It has rudimentary support for tracing the signals and exceptions, showing where and when they happened. Throws and retries can be turned off.
0 commit comments