Guenael / rtlsdr-wsprd

WSPR daemon for RTL receivers
GNU General Public License v3.0
112 stars 32 forks source link

Doesn't not exit on control C #68

Closed mkarliner closed 2 years ago

mkarliner commented 2 years ago

Catching a signal sets the rx_state.exit_flag, but does not result in the program terminating.

Guenael commented 2 years ago

Yep, I was on it... I guess the thread local variables are not sync with the parent. Or something like that.

Guenael commented 2 years ago

Works fine on an x86_64, but not on a Raspberry Pi. @mkarliner Did you experience this issue on an RPi?

Guenael commented 2 years ago

Related to the PiOS image used, and possibly to some pthread issue. Works fine on Linux x86_64, and an old version of Raspbian. I will update the README file.