Dispatch at least one callback, blocking until the callback is dispatched.
CS_DISPATCH_ALL
Dispatch all waiting callbacks without blocking to wait for any callbacks.
CS_DISPATCH_BLOCKING
Dispatch all callbacks blocking indefinitely. This is used in a threaded
program where a thread is created, and then votequorum_dispatch() is called immediately
from the created thread to execute callbacks.
RETURN VALUE
This call returns the CS_OK value if successful, otherwise an error is returned.