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.
destroy_closure πŸ”’ ⚠
destroy_closure_child_watch πŸ”’ ⚠
destroy_closure_child_watch_local πŸ”’ ⚠
destroy_closure_local πŸ”’ ⚠
destroy_closure_unix_fd πŸ”’ ⚠
destroy_closure_unix_fd_local πŸ”’ ⚠
fnmut_callback_wrapper πŸ”’
Transform a generic FnOnce into a closure that can be used as callback in various glib methods
fnmut_callback_wrapper_local πŸ”’
Transform a generic FnOnce into a closure that can be used as callback in various glib methods
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.
into_raw πŸ”’
into_raw_child_watch πŸ”’
into_raw_child_watch_local πŸ”’
into_raw_local πŸ”’
into_raw_unix_fd πŸ”’
into_raw_unix_fd_local πŸ”’
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.
trampoline πŸ”’ ⚠
trampoline_child_watch πŸ”’ ⚠
trampoline_child_watch_local πŸ”’ ⚠
trampoline_local πŸ”’ ⚠
trampoline_unix_fd πŸ”’ ⚠
trampoline_unix_fd_local πŸ”’ ⚠
unix_fd_add
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_full
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
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_full
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_new
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_add
Adds a closure to be called by the default main loop whenever a UNIX signal is raised.
unix_signal_add_local
Adds a closure to be called by the default main loop whenever a UNIX signal is raised.
unix_signal_add_local_once
Adds a closure to be called by the default main loop whenever a UNIX signal is raised.
unix_signal_add_once
Adds a closure to be called by the default main loop whenever a UNIX signal is raised.
unix_signal_source_new
Adds a closure to be called by the main loop the returned Source is attached to whenever a UNIX signal is raised.