Re: yet another thread question

2012-07-07 Thread David Buchan
, 2012 10:16 AM Subject: Re: yet another thread question On 6 July 2012 14:49, David Buchan pdbuc...@yahoo.com wrote: If I understand the first solution correctly, we're creating a separate idle function for each message. If the worker thread gets a bit ahead of the GUI updates, then a few idle

Re: yet another thread question

2012-07-06 Thread jcupitt
Hi again David, On Friday, 6 July 2012, David Buchan wrote: When the user presses a button, an idle function is begun to watch a flag which will tell it a message has been left in a string for it by a worker thread. The worker thread is then started. It will produce results to be

Re: yet another thread question

2012-07-06 Thread David Buchan
From: jcup...@gmail.com jcup...@gmail.com To: David Buchan pdbuc...@yahoo.com Cc: gtk-app-devel-list list gtk-app-devel-list@gnome.org Sent: Friday, July 6, 2012 3:56 AM Subject: Re: yet another thread question Hi again David, On Friday, 6 July 2012, David Buchan wrote: When the user

Re: yet another thread question

2012-07-06 Thread jcupitt
On 6 July 2012 14:49, David Buchan pdbuc...@yahoo.com wrote: If I understand the first solution correctly, we're creating a separate idle function for each message. If the worker thread gets a bit ahead of the GUI updates, then a few idle functions might pile up. ok. But one thing I don't

Re: yet another thread question

2012-07-06 Thread David Buchan
Wow! Absolutely fantastic. Thanks again John. Dave From: jcup...@gmail.com jcup...@gmail.com To: David Buchan pdbuc...@yahoo.com Cc: gtk-app-devel-list list gtk-app-devel-list@gnome.org Sent: Friday, July 6, 2012 10:16 AM Subject: Re: yet another thread