mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-31 21:34:12 +02:00
gio: deprecate gioscheduler, soft deprecate GSimpleAsyncResult
Reimplement gioscheduler in terms of GTask, and deprecate the original gioscheduler methods. Update docs to point people to GTask rather than gioscheduler and GSimpleAsyncResult, but don't actually formally deprecate GSimpleAsyncResult yet. https://bugzilla.gnome.org/show_bug.cgi?id=661767
This commit is contained in:
@@ -32,16 +32,20 @@
|
||||
G_BEGIN_DECLS
|
||||
|
||||
|
||||
GLIB_DEPRECATED_IN_2_36_FOR ("GThreadPool or g_task_run_in_thread")
|
||||
void g_io_scheduler_push_job (GIOSchedulerJobFunc job_func,
|
||||
gpointer user_data,
|
||||
GDestroyNotify notify,
|
||||
gint io_priority,
|
||||
GCancellable *cancellable);
|
||||
GLIB_DEPRECATED_IN_2_36
|
||||
void g_io_scheduler_cancel_all_jobs (void);
|
||||
GLIB_DEPRECATED_IN_2_36_FOR (g_main_context_invoke)
|
||||
gboolean g_io_scheduler_job_send_to_mainloop (GIOSchedulerJob *job,
|
||||
GSourceFunc func,
|
||||
gpointer user_data,
|
||||
GDestroyNotify notify);
|
||||
GLIB_DEPRECATED_IN_2_36_FOR (g_main_context_invoke)
|
||||
void g_io_scheduler_job_send_to_mainloop_async (GIOSchedulerJob *job,
|
||||
GSourceFunc func,
|
||||
gpointer user_data,
|
||||
|
Reference in New Issue
Block a user