TipcDispatcherDestroy destroy a dispatcher
dispatcher
the dispatcher to destroy
TRUE
if the dispatcher was successfully destroyed, FALSE
otherwise.
If TipcDispatcherDestroy fails, it returns FALSE
and sets the global SmartSockets error number to one of:
TipcDispatcherDestroy frees resources associated with a dispatcher.
This function can only be called from the same thread that created the dispatcher.
TipcDispatcherCreate, TipcDispatcherCreateDetached
This example creates and destroys a dispatcher:
T_IPC_DISPATCHER dispatcher; dispatcher = TipcDispatcherCreate(); /* do work here */ if (!TipcDispatcherDestroy(dispatcher)) {return
; /* error */
}
TIBCO SmartSockets™ Application Programming Interface Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |