diff options
Diffstat (limited to 'src/io_thread.h')
-rw-r--r-- | src/io_thread.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/io_thread.h b/src/io_thread.h index 53b32f61f..2daddba86 100644 --- a/src/io_thread.h +++ b/src/io_thread.h @@ -36,4 +36,17 @@ G_GNUC_PURE GMainContext * io_thread_context(void); +guint +io_thread_idle_add(GSourceFunc function, gpointer data); + +guint +io_thread_timeout_add_seconds(guint interval, + GSourceFunc function, gpointer data); + +/** + * Call a function synchronously in the I/O thread. + */ +gpointer +io_thread_call(GThreadFunc function, gpointer data); + #endif |