mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
06c550c2fb
The Bluetooth thread is only necessary for starting and stopping Bluetooth with the BlueZ backend. Bluedroid implements its multi- threading internally. This patch moves the Bluetooth thread into the BlueZ backend. Two runnables implement the starting and stopping code. The methods |StartInternal| and |StopInternal| of |BluetoothDBusService| each create an instance of the respective runnable and send it to the internal BT thread. The code in |BluetoothService| runs completely on the main thread. For the Bluedroid back end, the patch changes a number of thread assertions. |
||
---|---|---|
.. | ||
BluetoothA2dpManager.cpp | ||
BluetoothA2dpManager.h | ||
BluetoothDBusService.cpp | ||
BluetoothDBusService.h | ||
BluetoothHfpManager.cpp | ||
BluetoothHfpManager.h | ||
BluetoothOppManager.cpp | ||
BluetoothOppManager.h | ||
BluetoothSocket.cpp | ||
BluetoothSocket.h | ||
BluetoothUnixSocketConnector.cpp | ||
BluetoothUnixSocketConnector.h | ||
BluetoothUtils.cpp | ||
BluetoothUtils.h |