NordicSemiconductor / pc-ble-driver-py

Python bindings for the ble-driver library
Other
126 stars 115 forks source link

Fix/use threads not deamon threads #86

Closed kenr closed 5 years ago

kenr commented 5 years ago

Previously log and status worker threads were ran as daemon threads The code for these threads was not compatible with Python2.7.

Daemon threads may be nondeterministic and may lead to unexpected behaviour.

This PR changes this to make threads be "normal" threads. It also changes the behaviour of ble events to use the same functionality as log and status.