>> The mutex was (and is still only) locked within case branches, isn't it? >> > You are correct, this does however reflect the issue with the resulting > lack of balance here.
Do you find changes for the other function implementations easier to integrate? Regards, Markus