Skip to content

RFC: Make the module->gui_lock recursive - #22253

Open
jenshannoschwalm wants to merge 1 commit into
darktable-org:masterfrom
jenshannoschwalm:recursive_gui_lock
Open

RFC: Make the module->gui_lock recursive#22253
jenshannoschwalm wants to merge 1 commit into
darktable-org:masterfrom
jenshannoschwalm:recursive_gui_lock

Conversation

@jenshannoschwalm

Copy link
Copy Markdown
Collaborator

While different threads fight with the gui_lock mutex they might call different sub-functions that all might want to be locked.
This defines the mutex as recursive.

See comments in #22251 and elsewhere.

While different threads fight with the gui_lock mutex they might call different sub-functions
that all might want to be locked.
This defines the mutex as recursive
@ralfbrown ralfbrown added the scope: threading thread safety, multithreading support, etc. label Sep 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: threading thread safety, multithreading support, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants