httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 48094] Avoid a race condition in close_worker_sockets()
Date Tue, 10 Nov 2009 10:11:48 GMT

Bojan Smojver <> changed:

           What    |Removed                     |Added
  Attachment #24453|0                           |1
        is obsolete|                            |

--- Comment #5 from Bojan Smojver <> 2009-11-10 02:11:46 UTC ---
Created an attachment (id=24510)
 --> (
(Hopefully) safe close_worker_sockets()

Simpler and safer patch. Instead of suspending workers (which may hang the
server in some corner cases), we simply send signals to worker threads. Once
the signal handler is executed for a worker thread, we are guaranteed that the
other worker code isn't going to be executing, so we avoid the race.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message