Query: evs_dispatch
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
EVS_DISPATCH(3) Corosync Cluster Engine Programmer's Manual EVS_DISPATCH(3)NAMEevs_dispatch - Dispatches callbacks from the EVS serviceSYNOPSIS#include <corosync/evs.h> int evs_dispatch(evs_handle_t handle, evs_dispatch_t *dispatch_types);DESCRIPTIONThe evs_dispatch function is used to dispatch configuration changes or messages from the extended virtual synchrony API. Each application may have several connections to the EVS API. Each application uses the handle argument to uniquely identify the connec- tion. The dispatch_types argument is used to identify the type of dispatch to execute. The possible types are defined by the structure: typedef enum { EVS_DISPATCH_ONE, EVS_DISPATCH_ALL, EVS_DISPATCH_BLOCKING } evs_dispatch_t; The dispatch values have the following meanings: EVS_DISPATCH_ONE Dispatch atleast one callback, blocking until the callback is dispatched. EVS_DISPATCH_ALL Dispatch all waiting callbacks without blocking to wait for any callbacks. EVS_DISPATCH_BLOCKING Dispatch all callbacks blocking indefinately. This is used in a threaded program where a thread is created, and then evs_dispatch() is called immediately from the created thread to execute callbacks.RETURN VALUEThis call returns the EVS_OK value if successful, otherwise an error is returned.ERRORSThe errors are undocumented.SEE ALSOevs_overview(8), evs_initialize(3), evs_finalize(3), evs_fd_get(3), evs_join(3), evs_leave(3), evs_mcast_joined(3), evs_mcast_groups(3), evs_mmembership_get(3) evs_context_get(3) evs_context_set(3) corosync Man Page 2004-08-31 EVS_DISPATCH(3)
Related Man Pages |
---|
votequorum_dispatch(3) - centos |
evs_mcast_groups(3) - debian |
cmap_dispatch(3) - centos |
cpg_initialize(3) - centos |
confdb_dispatch(3) - suse |
Similar Topics in the Unix Linux Community |
---|
Process creation |