Marzona / rig-remote

remote control a rig through rigctl protocol
MIT License
21 stars 6 forks source link

Scan thread queue can fill while scan is in a signal wait hold. #43

Closed MaineTim closed 8 years ago

MaineTim commented 8 years ago

If "wait for active signal" feature is enabled, the scan thread queue goes unchecked while the signal is active. This allows the queue to fill, and we could drop events. Will experiment with using a forced queue check and see what implications that brings.

MaineTim commented 8 years ago

Rather than going with a forced queue check, have expanded the opportunities for queue processing within the scanning loop, and during a "wait for active signal" state. Also added a _queue_sleep method that does queue processing while we are "sleeping". If the queue fills now, something has really gone wrong, and would need to be addressed. Pushed to devel in commit f2c1902.