pfm_enable_faults(3ncs)pfm_enable_faults(3ncs)Name
pfm_enable_faults - enable asynchronous faults
Syntax
#include <idl/c/base.h>
#include <idl/c/pfm.h>
void pfm_$enable_faults()
Description
The routine enables asynchronous faults after they have been inhibited by a call to causes the operating system to pass asynchronous faults
on to the calling process.
While faults are inhibited, the operating system holds at most one asynchronous fault. Consequently, when returns, there can be at most
one fault waiting on the process. If more than one fault was received between routines to and the process receives the first asynchronous
fault received while faults were inhibited.
Diagnostics
This section lists the status codes for errors returned by this routine.
pfm_$bad_rls_order Attempted to release a clean-up handler out of order.
pfm_$cleanup_not_found
There is no pending clean-up handler.
pfm_$cleanup_set A clean-up handler was established successfully.
pfm_$cleanup_set_signalled
Attempted to use pfm_$cleanup_set as a signal.
pfm_$invalid_cleanup_rec
Passed an invalid clean-up record to a routine.
pfm_$no_space Cannot allocate storage for a clean-up handler.
FilesSee Alsointro(3ncs), pfm_enable(3ncs), pfm_inhibit_faults(3ncs)pfm_enable_faults(3ncs)
Check Out this Related Man Page
pfm_rls_cleanup(3ncs)pfm_rls_cleanup(3ncs)Name
pfm_rls_cleanup - release clean-up handlers
Syntax
#include <idl/c/base.h>
#include <idl/c/pfm.h>
void pfm_$rls_cleanup(cleanup_record, status)
pfm_$cleanup_rec *cleanup_record;
status_$t *status;
Arguments
cleanup_record The clean-up record for the first clean-up handler to release.
status The completion status. If status is pfm_$bad_rls_order, it means that the caller attempted to release a clean-up han-
dler before releasing all handlers established after it. This status is only a warning; the intended clean-up handler
is released, along with all clean-up handlers established after it. If the completion status returned in is equal to
status_$ok, then the routine that supplied it was successful.
Description
The routine releases the clean-up handler associated with cleanup_record and all clean-up handlers established after it.
Diagnostics
This section lists the status codes for errors returned by this routine in
pfm_$bad_rls_order Attempted to release a clean-up handler out of order.
pfm_$cleanup_not_found
There is no pending clean-up handler.
pfm_$cleanup_set A clean-up handler was established successfully.
pfm_$cleanup_set_signalled
Attempted to use pfm_$cleanup_set as a signal.
pfm_$invalid_cleanup_rec
Passed an invalid clean-up record to a routine.
FilesSee Alsointro(3ncs)pfm_rls_cleanup(3ncs)
Hello
Please can you tell me how to access COPY ON WRITE page faults in HP -UNIX.
I found the structure in
/usr/include/sys/vmmeter with the structure name vmmeter.
Please tell me the function to fill the values to this structure and also
the arguments for function.:: (5 Replies)
Hi,
Will anybody tell me what is this 'intransient blocking page faults' in HP-UX, it is in the structure _pst_vminfo in the header file /ust/include/sys/pstat/vm_pstat_body.h? (4 Replies)
ive written my code in C for implementation of a simple lexical analyser using singly linked list hence am making use of dynamic allocation,but when run in linux it gives a segmentation fault is it cause of the malloc function that ive made use of????any suggestions as to what i could do???
thank... (8 Replies)
Dear all,
I used debugger from C++ and these are the message I got:
Program received signal SIGSEGV, Segmentation fault.
0x00323fc0 in free () from /lib/tls/libc.so.6
(gdb) info s
#0 0x00323fc0 in free () from /lib/tls/libc.so.6
#1 0x00794fa1 in operator delete () from... (5 Replies)
helo,
i m using linux operationg system at both client and server side.
Now in my application when i use ntohl() then it will give segmentation fault.
now when i remove nothl(), then it works fine.
can u tell me why this happen.
amit (8 Replies)
This code is causing a segmentation fault and I can't figure out why. I'm new to UNIX and I need to learn how to avoid this segmentation fault thing. Thank you so much. Thanks also for the great answers to my last post.:):b:
int main()
{
mysqlpp::Connection conn(false);
if... (3 Replies)
Hi Guys and Gals,
Can someone help me possible?
Trying to power up an M4000 and it comes up with xscf fault (reason=0) it then just hangs there.
Any help would be gratefully appreciated.
Thanks
Martin (4 Replies)
Hi,
I want to do some fault association analysis in red hat linux. who can tell me where I can get all of the fault information, and the detailed description about this fault information.
Thank you very much. (4 Replies)
hi guys i hope you can help me with this situation.
i have 2 lpar with aix 7.1 and oracle 11gr2 in grid mode.
when i start nmon to check the current system health i notice that page fault are over 3000/s. than i have opened a case with ibm and they say that the problem is not paging nor... (10 Replies)
Hi all,
Recently I facing problem with my AIX server. we experience slowness on performance. there are some application installed in this server such as : Oracle 10g database, control-m client agent, and some monitoring tools.
when we're facing the problem we're noticing that vmstat value a... (7 Replies)
I am trying to reverse complement DNA sequence (string) with a short c++ code using boost library. Code was compiled without any warning/error, but ran into Segmentation fault.
My guess is the function to return a vector, but not sure.
#include <iostream>
#include <fstream>
#include <string>... (14 Replies)
Hello,
This function was copied into my code, which was compiled without error/warning, but when executed there is always Segmentation fault at the end after the output (which seems correct!):
void get_hashes(unsigned int hash, unsigned char *in)
{
unsigned char *str = in;
int pos =... (7 Replies)
Hi,
Considering a case there are 4 RANKs in a DIMM. Run time, if one of the 4 rank has fault which results into use 3 ranks. Say Rank1 has faults. So Rank0, Rank2 and Rank3 are operational.
Is it possible case?
If above is true then, who is responsible for address aliasing? Memory Controller... (4 Replies)
I am passing a char* to the function "reverse" and when I execute it with gdb I get:
Program received signal SIGSEGV, Segmentation fault.
0x000000000040083b in reverse (s=0x400b2b "hello") at pointersExample.c:72
72 *q = *p;
Attached is the source code.
I do not understand why... (9 Replies)
Oddities with gcc, 2.95.3 for the AMIGA and 4.2.1 for MY current OSX 10.14.1...
I am creating a basic calculator for the AMIGA ADE *NIX emulator in C as it does not have one.
Below are two very condensed snippets of which I have added the results inside the each code section.
IMPORTANT!... (11 Replies)