tibrvDispatcher_Destroy()

Function

Declaration

tibrv_status tibrvDispatcher_Destroy(
    tibrvDispatcher    dispatcher);

Purpose

Destroy a dispatcher thread.

Parameter

Description

dispatcher

Destroy and exit this dispatcher thread.

We do not recommend destroying a dispatcher thread within the same thread (for example, from within a listener callback running within that thread). Although it is legal to do so, we discourage this practice, because some operating systems do not properly free internal resources associated with the thread (which can result in memory growth).

See Also

DISPATCHER.THREAD_EXITED in TIBCO Rendezvous Concepts