i want to implement a mutex scenario where in a piece of code is execited exclusively altogether