Re: yet another thread question

2012-07-07 Thread David Buchan
Well, that worked out fine! It creates a smooth user interface experience. Thanks again John. Dave From: "jcup...@gmail.com" To: David Buchan Cc: gtk-app-devel-list list Sent: Friday, July 6, 2012 10:16 AM Subject: Re: yet another thread quest

Re: yet another thread question

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

Re: yet another thread question

2012-07-06 Thread jcupitt
On 6 July 2012 14:49, David Buchan 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 > understand is that

Re: yet another thread question

2012-07-06 Thread David Buchan
into the textview. Dave From: "jcup...@gmail.com" To: David Buchan Cc: gtk-app-devel-list list 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 presses a button,

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 > disp