airspy / airspyone_host

AirSpy's usemode driver and associated tools
http://airspy.com
245 stars 88 forks source link

Only call pthread_join if thread is 'active' #94

Closed johanhedin closed 8 months ago

johanhedin commented 8 months ago

pthread_join() segfaults on some Linux distros (typically from the RHEL-line) if called with a thread id of 0. This PR mitigates this. Se #93 for reference.

touil commented 8 months ago

Merged a check for pthread_join()