Welcome! Log In Create A New Profile

Advanced

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

Maxim Dounin
November 23, 2011 07:48AM
Hello!

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
readability).

Maxim Dounin

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

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

Maxim Dounin 1124 November 23, 2011 07:48AM

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

Maxim Dounin 390 November 23, 2011 07:48AM

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

Maxim Dounin 447 November 23, 2011 07:48AM



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

Online Users

Guests: 89
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