Yo Gary, dear All,
My environment:
xgps: Version 3.27.6~dev
OS: Debian version 13 and 12 on Intel and ARM
Python: 3.11.2 and 3.13.5
I start xgps and I see all the satellites and other information.
CPU is idle about 98% - all fine.
Now I press "Disconnect" ( under File )
Within a second window on the same machine I run "top". There I see a
python process which takes up to 100%. And idle goes down depending how
many threads are available.
This behaviour is also visible running "strace" on this process id. When
"connected" I can watch the time periods when the process is still
waiting. But when "disconnected" then I get many many lines in very
short time without pause like this:
poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=6,
events=POLLIN}, {fd=12, events=POLLIN}, {fd=13, events=POLLIN}], 5,
8515) = 1 ([{fd=12, revents=POLLNVAL}])
recvmsg(3, {msg_namelen=0}, 0) = -1 EAGAIN (Resource
temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=6,
events=POLLIN}, {fd=12, events=POLLIN}, {fd=13, events=POLLIN}], 5,
8515) = 1 ([{fd=12, revents=POLLNVAL}])
I hope someone can reproduce this behaviour.
But I have to say, it does not always happen. In 9 of 10 times it
happens, but sometimes not.
When I press "Connect" it goes back into normal behaviour.
I am not sure if I should open an issue for this behaviour. Sorry Gary
that I am always annoying.
Kind regards
Hans
--