Commit 7f1ced9b authored by Bill Stoddard's avatar Bill Stoddard
Browse files

Pass the thread number along to the new thread for use in the conn->id field.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87962 13f79535-47bb-0310-9956-ffa450edef68
parent c154f8a0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1291,7 +1291,7 @@ static void child_main()
    child_handles = (thread) alloca(nthreads * sizeof(int));
    for (i = 0; i < nthreads; i++) {
        child_handles[i] = (thread) _beginthreadex(NULL, 0, (LPTHREAD_START_ROUTINE) worker_main,
                                                   NULL, 0, &tid);
                                                   (void *) i, 0, &tid);
    }

    /* Begin accepting connections */