This is an interview question.
Is it possible to use mutex in multiprocessing case on Linux/UNIX ?
My idea: No, different processes have separate memory s
Yes, in general in Linux we have only unnamed mutexes due to which they cannot operate between processes. We need a semaphore to get over that.
In windows, they have a concept of named mutexes which lets us use mutexes across processes.