NAME | SYNOPSIS | API RESTRICTIONS | FEATURES | DESCRIPTION | RETURN VALUES | ERRORS | RESTRICTIONS | ATTRIBUTES | SEE ALSO
#include <mon/chMon.h>int svSiteActorList(void);
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 svSiteActorList() function notifies a monitor of the list of actors belonging to the local site, via the monitoring probe (if any) connected to the local site. For each actor belonging to the local site, the system call invokes the nextActor() notification routine (see svSiteProbeConnect(2MON) ). Finally, the nextActor() notification routine is invoked with a NULL parameter and svSiteActorList() returns.
The svActorThreadList() microkernel call notifies a monitor of the list of threads belonging to an actor, via the monitoring probe (if any) connected to the actor. For each thread belonging to the actor, the system call invokes the nextThread() notification routine (see svSiteProbeConnect(2MON) ). Finally, the nextThread() notification routine is invoked with a NULL parameter and svActorThreadList() returns.
The svActorPortList() microkernel call notifies a monitor of the list of ports belonging to an actor, via the monitoring probe (if any) connected to this actor. For each port belonging to the actor, the system call invokes the nextPort() notification routine (see svSiteProbeConnect(2MON) ). Finally, the nextPort() notification routine is invoked with a NULL parameter and svActorPortList() returns.
Upon successful completion, each microkernel call return 0 . Otherwise, a negative error code is returned.
actorcap is an inconsistent actor capability.
actorcap does not specify a reachable actor.
For svActorThreadList() and svActorPortList() , the target actor and the current actor must be located on the same site.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
Interface Stability | Evolving |
svSiteProbeConnect(2MON) , svActorProbeConnect(2MON) , svPortProbeConnect(2MON) , svThreadProbeConnect(2MON)
NAME | SYNOPSIS | API RESTRICTIONS | FEATURES | DESCRIPTION | RETURN VALUES | ERRORS | RESTRICTIONS | ATTRIBUTES | SEE ALSO