Lely core libraries  2.3.4
stop_func Struct Reference

An object providing the means to register a callback function with an stop_token_t object. More...

#include <stop.h>

Inheritance diagram for stop_func:
Collaboration diagram for stop_func:

Data Fields

void(* func )(struct stop_func *func)
 The function to be invoked when a stop request is issued.
 

Detailed Description

An object providing the means to register a callback function with an stop_token_t object.

The callback function will be invoked when the stop_source_t object associated with the stop token is requested to stop.

Definition at line 51 of file stop.h.


The documentation for this struct was generated from the following file: