![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Exception Handling | bertpereira | Shell Programming and Scripting | 5 | 01-14-2009 09:28 PM |
| MMU exception | Puntino | Linux | 2 | 05-07-2008 12:35 PM |
| Help with RPC Exception | ejbrever | HP-UX | 2 | 08-24-2006 02:08 PM |
| RPC Exception - Help | ejbrever | UNIX for Advanced & Expert Users | 0 | 08-21-2006 12:56 PM |
| Linux g++ 2.95.3 exception handling | earl | High Level Programming | 0 | 08-16-2005 01:46 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Not exactly. The NT family of OSes throw exceptions which are handled by an exception vector. You can throw exceptions -- in the sense of software error trapping in Unix -- using C++ as well. It's no different from MSVC++ in that regard.
Unix creates signals - think of them as exactly like software interrupts -- to handle exceptions. This is not like the Windows message pump. These signals are sent to a process, which then has a signal handler. It's like an exception vector (table) except that it's a single function that processes signals or lets them through. On a Unix box, type "man signal" and it will explain a little bit about signal processing. Here is a site with PDF's that go into some depth (it's for linux, which for signals, is just fine): www.advancedlinuxprogramming.com It's a whole book. You're gonna need it. If you're going to non-Linux, try Richard Stevens book 'Advanced Programming in the UNIX Environment'. Good Luck--- The thing that's going to kill you is that NT(XP) was built from the ground up on threading. Unix was not. pthreads are supported just fine in most Unix versions, and work well. |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|