NAME | SYNOPSIS | API RESTRICTIONS | FEATURES | DESCRIPTION | PARAMETERS | RETURN VALUES | ATTRIBUTES | SEE ALSO
#include <mon/chMon.h>int svActorMonConst(MonActorConst *constants, int size);
The function or functions documented here may not be used safely in all application contexts with all APIs provided in the ChorusOS 5.0 product.
See API(5FEA) for details.
MON
The svActorMonConst() microkernel 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 microkernel.
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 microkernel 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 pseudocode:
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 microkernel.
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 | API RESTRICTIONS | FEATURES | DESCRIPTION | PARAMETERS | RETURN VALUES | ATTRIBUTES | SEE ALSO