From: Garrett Rooney Date: Sat, 25 Feb 2006 00:59:04 +0000 (+0000) Subject: Fill in the scoreboard's tid field in the event MPM, just like we do in X-Git-Tag: 2.3.0~2524 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=581e95cffc5ea9990a58fe9687092bbd8438d951;p=thirdparty%2Fapache%2Fhttpd.git Fill in the scoreboard's tid field in the event MPM, just like we do in other MPMs. Submitted by: Chris Darroch Issue: 38736 * server/mpm/experimental/event/event.c (worker_thread): Fill in the scoreboard's tid field. * CHANGES: Note change. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@380878 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index eeb67576949..a6e04ed545e 100644 --- a/CHANGES +++ b/CHANGES @@ -2,6 +2,9 @@ Changes with Apache 2.3.0 [Remove entries to the current 2.0 and 2.2 section below, when backported] + *) Event MPM: Fill in the scoreboard's tid field. PR 38736. + [Chris Darroch ] + *) mod_charset_lite: Remove Content-Length when output filter can invalidate it. Warn when input filter can invalidate it. [Jeff Trawick] diff --git a/server/mpm/experimental/event/event.c b/server/mpm/experimental/event/event.c index e0c9aa43ea7..7f340300cc5 100644 --- a/server/mpm/experimental/event/event.c +++ b/server/mpm/experimental/event/event.c @@ -1137,6 +1137,7 @@ static void *APR_THREAD_FUNC worker_thread(apr_thread_t * thd, void *dummy) free(ti); ap_scoreboard_image->servers[process_slot][thread_slot].pid = ap_my_pid; + ap_scoreboard_image->servers[process_slot][thread_slot].tid = apr_os_thread_current(); ap_scoreboard_image->servers[process_slot][thread_slot].generation = ap_my_generation; ap_update_child_status_from_indexes(process_slot, thread_slot, SERVER_STARTING, NULL);