TipcDispatcherDestroy


Name

TipcDispatcherDestroy — destroy a dispatcher

Synopsis

T_BOOL TipcDispatcherDestroy(dispatcher) 
T_IPC_DISPATCHER dispatcher; 

Arguments

dispatcher — the dispatcher to destroy

Return Values

TRUE if the dispatcher was successfully destroyed, FALSE otherwise.

Diagnostics

If TipcDispatcherDestroy fails, it returns FALSE and sets the global SmartSockets error number to one of:

Description

TipcDispatcherDestroy frees resources associated with a dispatcher.

Caution

This function can only be called from the same thread that created the dispatcher.

See Also

TipcDispatcherCreate, TipcDispatcherCreateDetached

Examples

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