Based on my review at gioscheduler.c, I assume that the
g_io_scheduler_job_send_to_mainloop() can be called in another thread, notice
that this function wait for job completion in the main loop (main thread), in
this case blocking the calling thread. If you call
g_io_scheduler_job_send_to_mainloop() at the main thread it might have
deadlocking your application.
Ardhan,
--- kuleshovm...@gmail.com wrote:
From: Alexander Kuleshov kuleshovm...@gmail.com
To: gtk-app-devel-list@gnome.org
Subject: g_io_scheduler_job_send_to_mainloop in another thread
Date: Fri, 13 Aug 2010 11:13:17 +0600
Hello,
I have function that run in another thread them main gui. Can i call
g_io_scheduler_job_send_to_mainloop from this fumction or we can call
g_io_scheduler_job_send_to_mainloop only from main thread?
Thank you
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
_
Listen to KNAC, Hit the Home page and Tune In Live! --- http://www.knac.com
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list