tibrvftMonitor_Destroy()
Function
Declaration
tibrv_statustibrvftMonitor_Destroy
(
tibrvftMonitor monitor);
tibrv_statustibrvftMonitor_DestroyEx
(
tibrvftMonitor monitor,
tibrvftMonitorOnComplete completionFunction);
Purpose
Stop monitoring a fault tolerance group, and free associated resources.
Parameter |
Description |
|
Destroy this monitor object. |
|
Rendezvous software runs this function immediately after all instances of the monitor’s callback function (and internal callback functions) have completed. If callback functions are not running when the monitor is destroyed, the destroy call runs it before returning. If this parameter is |
Extended Function
Although tibrvftMonitor_DestroyEx()
prevents future dispatch calls from running the destroyed monitor’s callback function, a callback function might be already running in one or more threads that dispatch events from the same queue. In each thread where the callback function is already in progress, that callback function does continue to run until complete. Rendezvous software ensures that the completion function runs when the last callback-in-progress has completed; for important details, see tibrvftMonitorOnComplete.