File indexing completed on 2025-01-18 09:59:57
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023 #ifndef __G_IO_SCHEDULER_H__
0024 #define __G_IO_SCHEDULER_H__
0025
0026 #if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
0027 #error "Only <gio/gio.h> can be included directly."
0028 #endif
0029
0030 #include <gio/giotypes.h>
0031
0032 G_BEGIN_DECLS
0033
0034
0035 GIO_DEPRECATED_IN_2_36_FOR ("GThreadPool or g_task_run_in_thread")
0036 void g_io_scheduler_push_job (GIOSchedulerJobFunc job_func,
0037 gpointer user_data,
0038 GDestroyNotify notify,
0039 gint io_priority,
0040 GCancellable *cancellable);
0041 GIO_DEPRECATED_IN_2_36
0042 void g_io_scheduler_cancel_all_jobs (void);
0043 GIO_DEPRECATED_IN_2_36_FOR (g_main_context_invoke)
0044 gboolean g_io_scheduler_job_send_to_mainloop (GIOSchedulerJob *job,
0045 GSourceFunc func,
0046 gpointer user_data,
0047 GDestroyNotify notify);
0048 GIO_DEPRECATED_IN_2_36_FOR (g_main_context_invoke)
0049 void g_io_scheduler_job_send_to_mainloop_async (GIOSchedulerJob *job,
0050 GSourceFunc func,
0051 gpointer user_data,
0052 GDestroyNotify notify);
0053
0054 G_END_DECLS
0055
0056 #endif