commit | 13717da19e52fb0b43b25ebfdb9bab1bc0a71ce4 | [log] [tgz] |
---|---|---|
author | Maxim Dounin <mdounin@mdounin.ru> | Wed Nov 23 14:09:19 2011 +0000 |
committer | Maxim Dounin <mdounin@mdounin.ru> | Wed Nov 23 14:09:19 2011 +0000 |
tree | 2a1753008729ab59ac1bd957ed0c5d4c2e3d0e18 | |
parent | ddb7cd1c410a7166d8e28092d714f782ed1d69b3 [diff] |
Unlock of shared memory zones on process crash. If process exited abnormally while holding lock on some shared memory zone - unlock it. It may be not safe thing to do (as crash with lock held may result in corrupted shared memory structure, and other processes will subsequently crash while trying to access shared data), therefore complain loudly if unlock succeeds.