[Git][wine/wine][master] 2 commits: winebth.sys: Unify critical sections used for bluetooth_radio.

"Alexandre Julliard (@julliard)" <[email protected]>
Newsgroups gmane.comp.emulators.wine.cvs
Message-ID <[email protected]>

Alexandre Julliard pushed to branch master at wine / wine


Commits:
952547f5 by Vibhav Pant at 2025-12-05T11:09:49+01:00
winebth.sys: Unify critical sections used for bluetooth_radio.

- - - - -
6c1f6f7f by Vibhav Pant at 2025-12-05T11:09:50+01:00
winebth.sys: Fix potential deadlocks while performing operations that block on the DBus event loop.

Disconnecting and removing remote devices hold device_list_cs before blocking on the DBus event
loop, which may cause a deadlock if we receive a message from BlueZ whose handler also attempts to
enter device_list_cs (Like BLUETOOTH_WATCHER_EVENT_TYPE_DEVICE_PROPERTIES_CHANGED). To fix this, the
device/radio handle is duplicated once found, device_list_cs is released, and the DBus method call
is made using the duplicate handle(s), which are then freed normally.

- - - - -


5 changed files:

- dlls/winebth.sys/unixlib.c
- dlls/winebth.sys/unixlib.h
- dlls/winebth.sys/winebluetooth.c
- dlls/winebth.sys/winebth.c
- dlls/winebth.sys/winebth_priv.h


View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/6048ac5dfebd7090672ec1c26e6e15dfd51d5a8d...6c1f6f7fee78d3b509864561862e8f5f83de39ee

-- 
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/6048ac5dfebd7090672ec1c26e6e15dfd51d5a8d...6c1f6f7fee78d3b509864561862e8f5f83de39ee
You're receiving this email because of your account on gitlab.winehq.org.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.