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
If critical system resources necessary for the functioning of Dashel, such as the termination pipes, cannot be acquired, the program should quit. These will happen only in case of system severely over-loaded to the point of being totally dysfunctional.
Similarly, if there is a critical bug in the implementation of a system call, we should abort as we do not know the state of the system.
Then it should be clearly documented, so that potential users of the library can make an informed decision. There are applications where a communication error shouldn't be fatal.
What about throwing exceptions instead of calling abort? See dashel/dashel-win32.cpp and dashel/dashel-posix.cpp
The text was updated successfully, but these errors were encountered: