aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_linux_init.c
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2011-11-23 14:09:19 +0000
committerMaxim Dounin <mdounin@mdounin.ru>2011-11-23 14:09:19 +0000
commit13717da19e52fb0b43b25ebfdb9bab1bc0a71ce4 (patch)
tree2a1753008729ab59ac1bd957ed0c5d4c2e3d0e18 /src/os/unix/ngx_linux_init.c
parentddb7cd1c410a7166d8e28092d714f782ed1d69b3 (diff)
downloadnginx-13717da19e52fb0b43b25ebfdb9bab1bc0a71ce4.tar.gz
nginx-13717da19e52fb0b43b25ebfdb9bab1bc0a71ce4.zip
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.
Diffstat (limited to 'src/os/unix/ngx_linux_init.c')
0 files changed, 0 insertions, 0 deletions