| GIO Reference Manual | ||||
|---|---|---|---|---|
GIOJob;
void (*GIOJobFunc) (GIOJob *job,
GCancellable *cancellable,
gpointer user_data);
void (*GIODataFunc) (gpointer user_data);
void g_schedule_io_job (GIOJobFunc job_func,
gpointer user_data,
GDestroyNotify notify,
gint io_priority,
GCancellable *cancellable);
void g_cancel_all_io_jobs (void);
void g_io_job_send_to_mainloop (GIOJob *job,
GIODataFunc func,
gpointer user_data,
GDestroyNotify notify,
gboolean block);
void (*GIOJobFunc) (GIOJob *job, GCancellable *cancellable, gpointer user_data);
|
|
|
|
|
void g_schedule_io_job (GIOJobFunc job_func, gpointer user_data, GDestroyNotify notify, gint io_priority, GCancellable *cancellable);
Schedules the job_func.
|
a GIOJobFunc. |
|
a gpointer. |
|
a GDestroyNotify. |
|
the io priority of the request. a gint. |
|
optional GCancellable object, NULL to ignore.
|
void g_io_job_send_to_mainloop (GIOJob *job, GIODataFunc func, gpointer user_data, GDestroyNotify notify, gboolean block);
|
a GIOJob. |
|
a GIODataFunc. |
|
a gpointer. |
|
a GDestroyNotify. |
|
boolean flag indicating whether or not this job should block. |