On 17/12/2016 06:47, Black Michael wrote:
> I then added the time delay in this patch (bumped up to 2 seconds and 
> added a sleep to prevent CPU usage as you noted).

Hi Mike,

forgot to mention this, using sleep is as problematic as a tight loop as 
it will block the UI, especially when multiplied by the number of 
requests. Qt is an event driven framework and that is how delays should 
be implemented i.e. with a QTimer. OTOH I still would like to know what 
is happening here as a delay should not be necessary, clearly I am not 
processing the QNAM events in the correct way.

73
Bill
G4WJS.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to