Module source

Source

Structs§

Pid
Process identifier
Priority
The priority of sources
SourceId
The id of a source that is returned by idle_add and timeout_add.

Functions§

child_watch_add
Adds a closure to be called by the main loop the returned Source is attached to when a child process exits.
child_watch_add_local
Adds a closure to be called by the main loop the returned Source is attached to when a child process exits.
child_watch_source_new
Adds a closure to be called by the main loop the returned Source is attached to when a child process exits.
idle_add
Adds a closure to be called by the default main loop when it’s idle.
idle_add_full
Adds a closure to be called by the default main loop when it’s idle.
idle_add_local
Adds a closure to be called by the default main loop when it’s idle.
idle_add_local_full
Adds a closure to be called by the default main loop when it’s idle.
idle_add_local_once
Adds a closure to be called by the default main loop when it’s idle.
idle_add_once
Adds a closure to be called by the default main loop when it’s idle.
idle_source_new
Adds a closure to be called by the main loop the return Source is attached to when it’s idle.
timeout_add
Adds a closure to be called by the default main loop at regular intervals with millisecond granularity.
timeout_add_full
Adds a closure to be called by the default main loop at regular intervals with millisecond granularity.
timeout_add_local
Adds a closure to be called by the default main loop at regular intervals with millisecond granularity.
timeout_add_local_full
Adds a closure to be called by the default main loop at regular intervals with millisecond granularity.
timeout_add_local_once
Adds a closure to be called by the default main loop at regular intervals with millisecond granularity.
timeout_add_once
Adds a closure to be called by the default main loop at regular intervals with millisecond granularity.
timeout_add_seconds
Adds a closure to be called by the default main loop at regular intervals with second granularity.
timeout_add_seconds_local
Adds a closure to be called by the default main loop at regular intervals with second granularity.
timeout_add_seconds_local_once
Adds a closure to be called by the default main loop at regular intervals with second granularity.
timeout_add_seconds_once
Adds a closure to be called by the default main loop at regular intervals with second granularity.
timeout_source_new
Adds a closure to be called by the main loop the returned Source is attached to at regular intervals with millisecond granularity.
timeout_source_new_seconds
Adds a closure to be called by the main loop the returned Source is attached to at regular intervals with second granularity.
unix_fd_addUnix
Adds a closure to be called by the main loop the returned Source is attached to whenever a UNIX file descriptor reaches the given IO condition.
unix_fd_add_fullUnix
Adds a closure to be called by the main loop the returned Source is attached to whenever a UNIX file descriptor reaches the given IO condition.
unix_fd_add_localUnix
Adds a closure to be called by the main loop the returned Source is attached to whenever a UNIX file descriptor reaches the given IO condition.
unix_fd_add_local_fullUnix
Adds a closure to be called by the main loop the returned Source is attached to whenever a UNIX file descriptor reaches the given IO condition.
unix_fd_source_newUnix
Adds a closure to be called by the main loop the returned Source is attached to whenever a UNIX file descriptor reaches the given IO condition.
unix_signal_addUnix
Adds a closure to be called by the default main loop whenever a UNIX signal is raised.
unix_signal_add_localUnix
Adds a closure to be called by the default main loop whenever a UNIX signal is raised.
unix_signal_add_local_onceUnix
Adds a closure to be called by the default main loop whenever a UNIX signal is raised.
unix_signal_add_onceUnix
Adds a closure to be called by the default main loop whenever a UNIX signal is raised.
unix_signal_source_newUnix
Adds a closure to be called by the main loop the returned Source is attached to whenever a UNIX signal is raised.