ACTIVE_JOB::cleanup_fn - callback for when an event is about to be removed

Name

Since this is a callback function, you are free to name it whatever you want. A pointer to this callback function must be stored in the field ACTIVE_JOB::cleanup_fn.

For conveniece, we will refer to this function as my_cleanup_fn().

Synopsis

#include "eventset.h"

void my_cleanup_fn(ACTIVE_JOB *acp)

Description

The user-supplied callback function, here called my_cleanup_fn(), will be called by the worker thread whenever the corresponding ACTIVE_JOB is about to be removed from its EVENTSET.

Return value

This function has no return value.

See also