NAME | SYNOPSIS | FEATURES | DESCRIPTION | RETURN VALUE | ERRORS | RESTRICTIONS | ATTRIBUTES | SEE ALSO
#include <mon/chMonProbe.h>int svSiteActorList(void);
MON
The svSiteActorList 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 kernel 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 svActorProbeConnect (2MON) ). Finally, the nextThread notification routine is invoked with a null parameter and svActorThreadList returns.
The svActorPort kernel 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 svActorProbeConnect (2MON) ). Finally, the nextPort notification routine is invoked with a null parameter and svActorPortList returns.
Upon successful completion, both kernel calls 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 | FEATURES | DESCRIPTION | RETURN VALUE | ERRORS | RESTRICTIONS | ATTRIBUTES | SEE ALSO