[PATCH 0 of 2] unlock mutexes on process crash (updated)
mdounin at mdounin.ru
Wed Nov 23 13:02:19 UTC 2011
The following patches restore accept mutex unlock on abnormal process
termination (broken in 1.0.2 with introduction of POSIX semaphores support
in locks) and introduce unlocking of shared memory zone's locks.
This is updated patch series to address some off-list comments from Igor.
- the %uA used insead of %XA to log number of waiting processes;
- separate function used for wakeup after shared mutex unlock (reduces code
duplication, improves code readability);
- separate function used for unlock after process crash (improves code
More information about the nginx-devel