Re: callbacks: doing i/o bound stuff in them
- From: Santhosh <santhoshmani gmail com>
- To: "Vassilis Pandis" <pandisv yahoo co uk>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: callbacks: doing i/o bound stuff in them
- Date: Tue, 14 Mar 2006 13:46:03 +0530
You may need to refer to this post first..
http://mail.gnome.org/archives/gtk-app-devel-list/2006-February/msg00266.html
Callbacks should not do processing intensive or blocking calls... you
may create threads to do the job... You can also use
if gtk_events_pending(): gtk_main_teration()
Make sure that you give the control back to gtk as soon as possible so
that it can process your gtk related operations...
Regards,
Santhosh.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]