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 1378 November 23, 2011 07:48AM

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

Maxim Dounin 518 November 23, 2011 07:48AM

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

Maxim Dounin 564 November 23, 2011 07:48AM



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

Online Users

Guests: 299
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready