httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@gmail.com>
Subject Re: relatively minor 2.1 API change
Date Fri, 04 Mar 2005 20:00:25 GMT
On Fri, 04 Mar 2005 11:15:25 -0600, William A. Rowe, Jr.
<wrowe@rowe-clan.net> wrote:
> At 04:20 AM 3/4/2005, Jeff Trawick wrote:
> >worker_score in scoreboard.h needs a pid_t field.
> 
> As long as you store the pid:tid atom, I'm +1.  Quite right,
> those tid's can become somewhat meaningless out of context.

already has tid

struct worker_score {
    int thread_num;
#if APR_HAS_THREADS
    apr_os_thread_t tid;
#endif

I'll do something like

struct worker_score {
    int thread_num;
    pid_t pid;         /* With some MPMs (e.g., worker) this can occasionally be
                           * different than the pid_t stored in the
process_score.
                           */
#if APR_HAS_THREADS
    apr_os_thread_t tid;
#endif

Mime
View raw message