Sponsored Content
Top Forums Programming Relationship between exceptions and signals Post 302589421 by manolo123 on Wednesday 11th of January 2012 03:50:47 PM
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
 

8 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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
pthread_exc_set_status_np(3)				     Library Functions Manual				      pthread_exc_set_status_np(3)

NAME
pthread_exc_set_status_np - (Macro) Imports a system-defined error status into a DECthreads address exception object. LIBRARY
DECthreads POSIX 1003.1c Library (libpthread.so) SYNOPSIS
#include <pthread_exception.h> void pthread_exc_set_status_np( EXCEPTION *exception, unsigned long code); STANDARDS
None PARAMETERS
DECthreads address exception object into which the specified status code is imported. System-specific status code to be imported. DESCRIPTION
This routine associates a system-specific status value with the specified DECthreads address exception object. This transforms the address exception object into a DECthreads status exception object. The exception argument must already have been initialized with the DECthreads exception package's EXCEPTION_INIT macro. Use this routine to associate any system-specific status value with the specified DECthreads address exception object. Note that any exception objects set to the same status value are considered equivalent by DECthreads. RETURN VALUES
None ERRORS
None RELATED INFORMATION
Functions: pthread_exc_get_status_np(3) Manuals: Guide to DECthreads and Programmer's Guide delim off pthread_exc_set_status_np(3)
All times are GMT -4. The time now is 02:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy