diff options
author | Brian Havard <bjh@apache.org> | 2001-02-24 01:40:28 +0100 |
---|---|---|
committer | Brian Havard <bjh@apache.org> | 2001-02-24 01:40:28 +0100 |
commit | 1cb2ca9f829e50ac1e669238d7692149315f3855 (patch) | |
tree | 00d54228c41ff34b00017c8f542a3f29b7e7d403 /server/mpm/spmt_os2/spmt_os2.c | |
parent | Modify mod_file_cache to save pre-formatted strings for (diff) | |
download | apache2-1cb2ca9f829e50ac1e669238d7692149315f3855.tar.xz apache2-1cb2ca9f829e50ac1e669238d7692149315f3855.zip |
Fix initialization of thread_control[...].generation.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88294 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | server/mpm/spmt_os2/spmt_os2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/mpm/spmt_os2/spmt_os2.c b/server/mpm/spmt_os2/spmt_os2.c index 4ed16a97d2..8cb31273d0 100644 --- a/server/mpm/spmt_os2/spmt_os2.c +++ b/server/mpm/spmt_os2/spmt_os2.c @@ -518,6 +518,7 @@ static void thread_main(void *thread_num_arg) *ppthread_globals = (struct thread_globals *)apr_palloc(pchild, sizeof(struct thread_globals)); THREAD_GLOBAL(thread_num) = (int)thread_num_arg; THREAD_GLOBAL(pchild) = pchild; + thread_control[THREAD_GLOBAL(thread_num)].generation = ap_scoreboard_image->global.running_generation; apr_pool_create(&ptrans, pchild); if (setup_listen_poll(pchild, &listen_poll)) { @@ -743,7 +744,6 @@ static int make_child(server_rec *s, int slot) } ap_scoreboard_image->servers[0][slot].tid = tid; - thread_control[THREAD_GLOBAL(thread_num)].generation = ap_scoreboard_image->global.running_generation; return 0; } |