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!
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
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.