diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2023-01-21 17:48:11 +0000 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2023-01-23 12:24:12 +0000 |
commit | 65b3ff81c5fba2e72aa21c7c80dc7133b51e042b (patch) | |
tree | 7be4749f8ffa087d5e7393c8ba106ea4bf49cccf /firmware/usbstack/usb_core.c | |
parent | ce52d0c870f715ee979a1bf5e51857c200543d9d (diff) | |
download | rockbox-65b3ff81c5fba2e72aa21c7c80dc7133b51e042b.tar.gz rockbox-65b3ff81c5fba2e72aa21c7c80dc7133b51e042b.zip |
playlist: Fix dircache scan thread deadlocks
Fix deadlocks in the dircache scan thread caused by incorrect
lock ordering. Mutating operations need to stop the thread to
prevent it from accessing invalid data; this must always be
done before taking the playlist lock to avoid deadlocking the
scan thread.
Change-Id: If719a8b28ed0b0b3eac068073581e606c4a5f58a
Diffstat (limited to 'firmware/usbstack/usb_core.c')
0 files changed, 0 insertions, 0 deletions