NordicSemiconductor / pc-ble-driver-py

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

Change ble_driver queue.Queue to queue.SimpleQueue #232

Closed grandcentrixjosh closed 1 year ago

grandcentrixjosh commented 1 year ago

Queue.put() is not reentrant. That leads to race conditions, especially on resource constrained systems. In this lib this leads to Gatt Attributes not being discovered properly. SimpleQueue.put() is reentrant and solves those problems.

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.