Re: Understanding glib events

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 19 Apr 2010 20:09:46 +0200
R K <cheesemilli@xxxxxxxxx> wrote:
> So this would mean that, if my callback function would have a sleep
> statement or some simple printf statements, an other event/callback
> function could be executed at the "same" time?

I think your e-mail exchanges are at cross-purposes.  The glib main
loop is a normal event loop.  It executes its callbacks sequentially.
If one blocks, it blocks the loop: normally therefore, you shouldn't
use blocking calls in main loop callbacks.

Chris
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux