]> git.kaiwu.me - nginx.git/commit
Unlock of shared memory zones on process crash.
authorMaxim Dounin <mdounin@mdounin.ru>
Wed, 23 Nov 2011 14:09:19 +0000 (14:09 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Wed, 23 Nov 2011 14:09:19 +0000 (14:09 +0000)
commit13717da19e52fb0b43b25ebfdb9bab1bc0a71ce4
tree2a1753008729ab59ac1bd957ed0c5d4c2e3d0e18
parentddb7cd1c410a7166d8e28092d714f782ed1d69b3
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.
src/os/unix/ngx_process.c