Hi,
I was wondering what is the difference between signal handling and exception handling in Linux? In what case use signal handling and which case to use exception handling?
By signal I mean e.g. SIGXFSZ, SIGFPE. SIGSEGV...
Thanks!
Printable View
Hi,
I was wondering what is the difference between signal handling and exception handling in Linux? In what case use signal handling and which case to use exception handling?
By signal I mean e.g. SIGXFSZ, SIGFPE. SIGSEGV...
Thanks!
Signals are interprocess communication (although it can be used within a single process too).
Exceptions is a C++ concept, and is normally used to indicate that something went wrong in a function, and some calling function up the stack is using try / catch to get the exception data.
--
Mats