[ Previous | Next | Contents | Home | Search ]
AIX Version 4.3 Kernel and Subsystems Technical Reference, Volume 1

prochdel Kernel Service

Purpose

Deletes a process state change notification routine.

Syntax

#include <sys/types.h>
#include <sys/errno.h>
#include <sys/proc.h>
void prochdel (term)
struct proch *term;

Parameter

term Points to a proch structure containing a notification routine to be removed from the chain of system-wide notification routines. This structure was previously registered by using the prochadd kernel service.

Description

The prochdel kernel service removes a process change notification routine from the chain of system-wide notification routines. The registered notification routine defined by the handler field in the proch structure is no longer to be called by the kernel when major process state changes occur.

If the proch structure pointed to by the term parameter is not found in the chain of structures, the prochdel service performs no operation.

Execution Environment

The prochdel kernel service can be called from the process environment only.

Implementation Specifics

The prochdel kernel service is part of Base Operating System (BOS) Runtime.

Related Information

The prochadd kernel service.

The Process State-Change Notification Routine.

Kernel Extension and Driver Management Kernel Services in AIX Kernel Extensions and Device Support Programming Concepts.


[ Previous | Next | Contents | Home | Search ]