yev_loop_stop()

yev_loop_stop()#

yev_loop_stop() stops the execution of the event loop, transitioning it to the idle state.

Prototype

int yev_loop_stop(
    yev_loop_h yev_loop
);

Parameters

Key

Type

Description

yev_loop

yev_loop_h

Handle to the event loop to be stopped.


Return Value

Returns 0 on success, or a negative value on failure.

Notes

Stopping the event loop using yev_loop_stop() will cause it to exit its execution cycle, but it can be restarted using yev_loop_run().

Prototype

// Not applicable in JS

Prototype

# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples