TipcEventDestroy destroy an event
event
the event to destroy
TRUE
if the event was successfully destroyed, FALSE
otherwise.
If TipcEventDestroy fails, it returns FALSE
and sets the global SmartSockets error number to:
TipcEventDestroy destroys the event.
When an event is created or destroyed from a thread other than the thread dispatching the events, a user event is added to the dispatcher to perform the actual creation or destruction. To ensure that event data, such as a socket or a connection, is not destroyed before the event is removed from the dispatcher, create a user event to destroy the event and to perform any necessary cleanup. See the example for TipcEventCreate.
This example destroys an event:
TIBCO SmartSockets™ Application Programming Interface Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |