sd_event_source_get_event — Retrieve the event loop of an event source
sd_event_source_get_event() may be used
to retrieve the event loop object the event source object specified
source is associated with. The event
loop object is specified when creating an event source object with
calls such as
returns the associated event loop object. On failure, it returns
Functions described here are available as a shared
library, which can be compiled against and linked to with the
The code described here uses
which is declared to be not multi-thread-safe. This means that the code calling the functions described
here must not call
from a parallel thread. It is recommended to only do calls to
from an early phase of the program when no other threads have been started.
sd_event_source_get_event() was added in version 229.