concepts: Shared memory and mutex between threads