Method
GioIOSchedulerJobsend_to_mainloop
Declaration
gboolean
g_io_scheduler_job_send_to_mainloop (
GIOSchedulerJob* job,
GSourceFunc func,
gpointer user_data,
GDestroyNotify notify
)
Description
Used from an I/O job to send a callback to be run in the thread that the job was started from, waiting for the result (and thus blocking the I/O job).
Deprecated since: | Unknown |
Use g_main_context_invoke(). |
Parameters
func |
GSourceFunc |
A |
|
user_data |
gpointer |
Data to pass to |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
notify |
GDestroyNotify |
A |
|
The argument can be NULL . |