Relationship between exceptions and signals


 
Thread Tools Search this Thread
Top Forums Programming Relationship between exceptions and signals
# 1  
Old 01-11-2012
Relationship between exceptions and signals

Hi everyone,

I am using AIX 6.1. There are exception codes defined in header file

Code:
sys/m_except.h

Also, in the documentation (in "Understanding exception handling") it says:

Code:
If no exception handler is currently defined when an exception occurs, typically one of two things happens.
 
  • If the exception occurs while a process is executing in user mode, the process is sent a signal relevant to the type of exception.
  • If the exception occurs while in kernel mode, the system halts.

I was wondering, if there exists some sort of mapping of exception codes to signals being sent to the process (like EXCEPT_FLOAT to SIGFPE)? I couldnt find any documentation on this one.

Thanks in advance!

Moderator's Comments:
Mod Comment I guess that is more general programming question at first - moving it to the programming area for better chances.

Last edited by zaxxon; 01-12-2012 at 09:24 AM.. Reason: note
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. IP Networking

netstat local and foreign address relationship.

Hi All, Can you please help me in understanding the relationship between local and foreign address in the output of netstat -an. Output 1 ---------- 162.103.162.37.50224 162.103.162.35.9511 49640 0 49640 0 ESTABLISHED 162.103.162.37.50263 162.103.162.35.9512 49640 0... (1 Reply)
Discussion started by: Girish19
1 Replies

2. UNIX for Dummies Questions & Answers

Identify process/file relationship

Hey guys. So, I've got an issue on my Debian box. Problem is I ran out of disc space as a process (?) has been creating millions of folders in one place which has led to me having 0 bytes of free space and started messing with my ability to get online, I believe this is to do with INODES? I... (3 Replies)
Discussion started by: 3therk1ll
3 Replies

3. Shell Programming and Scripting

Help with update vim file-syntax relationship?

There are some ksh files named as "*.lib" in my system. When I open them in VIM, vim syntax can't parse it correctly. Is there a way that I can relate the *.lib with KSH syntax in VIM? Due to access limitation, i can only update the files under my home directory and can't modify the VIM... (6 Replies)
Discussion started by: sleepy_11
6 Replies

4. IP Networking

Socket and interface (eth0, eth 1)relationship

hi, Could some one answer this please we have a program with client socket declared which connect to a server for the above program description we wont send an interface information ... let us suppose, I have two interfaces (eth0 , eth1) which are assigned some ip, which interface the... (1 Reply)
Discussion started by: Gopi Krishna P
1 Replies

5. AIX

TUNING: fre, minfree, and maxfree relationship

Here's a good question about tuning. Why does my system continuously scan (sr) to free up pages when the amount of "fre" pages is well ABOVE my minfree and maxfree settings: $ vmo -a | grep free maxfree = 2560 minfree = 2048 $ Here is sample output from a... (2 Replies)
Discussion started by: kah00na
2 Replies

6. AIX

vpath fbvol relationship

Hi, I have a question about AIX vpaths and the fbvols you create via dscli on a DS8100 storage. Is there any command or any way to look which fbvol corresponds which vpath on operating system like the command fget_config -Av on a FastT storage system? I tried the datapath query device, datapath... (1 Reply)
Discussion started by: samaks
1 Replies

7. Solaris

CPU Usage to Number of CPUs - relationship

I have an E15K running at 60% CPU usage on 16 CPUs. I need to get rid of 6 CPUs, which is 38%. Does that mean my CPU usage will go up to 98%? I suspect the relationship between CPU numbers and usage is a bit more complicated. Can anyone give me any guidance on this please? TIA (0 Replies)
Discussion started by: disturbed_uk
0 Replies

8. UNIX for Dummies Questions & Answers

Relationship (or difference) between AIX and AS/400

Not sure if I understand. one is an OS and the other is the "machine", or what?. If AS/400 is the "CPU", can AIX run on other "CPUs"? Just two lines of explanation will do for me. Thanks, panchopp. (4 Replies)
Discussion started by: panchopp
4 Replies
Login or Register to Ask a Question