Welcome! Log In Create A New Profile


[PATCH 0 of 2] unlock mutexes on process crash (updated)

Maxim Dounin
November 23, 2011 07:48AM

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.
Changes include:

- 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

Maxim Dounin

nginx-devel mailing list
Subject Author Views Posted

[PATCH 0 of 2] unlock mutexes on process crash (updated)

Maxim Dounin 1157 November 23, 2011 07:48AM

[PATCH 1 of 2] Added shmtx interface to forcibly unlock mutexes

Maxim Dounin 409 November 23, 2011 07:48AM

[PATCH 2 of 2] Unlock of shared memory zones on process crash

Maxim Dounin 461 November 23, 2011 07:48AM

Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 77
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready