Page 1 of 1

Deadlock in "select-a-graph" window

Posted: Thu 16 Feb 2012 10:14 pm
by freddie
Just an observation - I've noticed that the "select-a-graph" window becomes unresponsive when Cumulus is uploading data (to WOW, WeatherUnderground, APRS, etc.). I say "when Cumulus is uploading" - but what I mean is "when the Cumulus status bar says that uploads are occurring". I don't know if this happes to other pop-up windows too because I haven't tried...

Re: Deadlock in "select-a-graph" window

Posted: Thu 16 Feb 2012 10:23 pm
by steve
The entire GUI becomes unresponsive briefly, because the updates are initiated on the main thread. The response is received asynchronously, but I don't know at what point during the process it goes asynchronous.

It should really do the update in a separate thread, as it does for ftp uploads.

Re: Deadlock in "select-a-graph" window

Posted: Thu 16 Feb 2012 10:48 pm
by freddie
OK thanks for the reply, Steve. I thought you would be aware, but thought I'd better mention it just in case....