NAME | SYNOPSIS | FEATURES | DESCRIPTION | RETURN VALUE | ATTRIBUTES | SEE ALSO
#include <mon/chMon.h>int svActorMonConst(MonActorConst *constants, int size);
MON
The svActorMonConst kernel call fills the MonActorConst structure pointed to by the constants parameter. The size parameter must be set to sizeof(MonActorConst). This feature is provided for compatibility between different releases of the kernel. The members of the MonActorConst structure are the following:
int actName_offset ; int actName_sizeof ; int actCap_offset ; |
These specify monitoring constants related to actors, and the offsets which detail the layout of the MonActorState structure. The MonActorState structure gives the internal representation of an actor within the kernel data space, see svActorProbeConnect(2MON).
The actName_offset member is the offset of the string representing the name of the actor. The actName_sizeof member is the space reserved for the name. The actCap_offset member is the offset of the capability of the actor.
The semantics of the members of the MonActorConst structure is summarized by the following lines of pseudo-code:
MonActorState* actorState ; char (actorState + actName_offset) [actName_sizeof] ; KnCap* (actState + actCap_offset) ; |
The K_ENOTIMP value indicates that the corresponding offset or constant does not apply to this particular release of the micro-kernel.
The return value is set to the size in bytes of the MonActorConst object.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
Interface Stability | Evolving |
svSiteMonConst(2MON), svThreadMonConst(2MON), svPortMonConst(2MON), svActorProbeConnect(2MON), actorName(2K)
NAME | SYNOPSIS | FEATURES | DESCRIPTION | RETURN VALUE | ATTRIBUTES | SEE ALSO