typedef void(* ValvulaThreadCleanup)(ValvulaCtx *ctx)

Set of functions defined at valvula_thread_pool_set_cleanup_func that are called every time a thread from the thread pool is stopped.

Parameters
ctxThe context where the operation takes place.