In https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap04.html#tag_04_12 it is said that recursive mutexes need not to synchronize memory.
In my understanding, they therefore do not need to establish a memory-barrier. Should I then use a memory-barrier explicitly? Say: use asm volatile ("" ::: "memory");
?