views:

19

answers:

1

Hi guys, I want try to understand better the problem of synchronization of shared memory. I have understood that interprocess synchronization can work differently on different operating system. The most difference is what's happening when a process that has locked the shared memory crash. Windows free locked named mutex after a process crash whereas linux don't free it. Can someone explain me better the problem and which are the vantages and disadvantages? How is possible under linux free a named mutex or a interprocess semaphore after a process crash? I have searched on internet but I didn't find someone that explain good the problems and the solutions.

I hope somebody can help me. Sorry for my English.

A: 
Richard