Proper way to provide gtk+ app with asynchronous data?

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

 



Hello.

I'm going to display graphically data that arrives from another machine.
It must be displayed as soon as possible, so periodic polling
does not suite my needs.
How to implement this properly?

In my case there is one thread which receives data and an UI thread with
an event loop, I think about making a new event source (g_source_new, I
mean),
is it correct or maybe there's a simpler solution?

Thank you.
Dmitry

_______________________________________________

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