Module time_out

Source
Expand description

Functions for limiting execution time.

This module contains a global variable, SUIRON_STOP_QUERY, and therefore has ‘unsafe’ code.

Functions§

cancel_timer
Cancels query timer. Ignores any issues.
query_stopped
Returns value of SUIRON_STOP_QUERY.
start_query
Sets the SUIRON_STOP_QUERY flag to false and LOGIC_VAR_ID to 0.
start_query_timer
Create a timer with a timeout in milliseconds.
stop_query
Sets the SUIRON_STOP_QUERY flag to true.