Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit a41226ba authored by Alexandre Bailon's avatar Alexandre Bailon
Browse files

controller: Add a new callback to stop the event loop.


The event is mainly used for module detection.
The controller create a thread to run the loop and generate
the hotplug and hot unpulg events.
But an event loop may prevent the application to exit,
because it use methods that prevent thread to be cancelled.
Add a new callback that will be called before to cancel the
thread to put the event loop in a cancellable state.

Signed-off-by: default avatarAlexandre Bailon <abailon@baylibre.com>
parent 0cf8b083
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment