httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralf S. Engelschall" <>
Subject Re: Which thread/process
Date Thu, 12 Aug 1999 15:27:01 GMT

In article <> you wrote:
> Okay, we took out the only place in the 2.0 tree where we designated a
> unique number for each thread within each process.  Namely, the
> thread_num/child_num pair in the conn_rec.  So how am I now supposed to
> get a deterministic value for the exact thread I am running in?

Pthreads has a pthread_self() function which you perhaps want to use.  Or you
can use TSD and save there a unique number at thread creation time.

                                       Ralf S. Engelschall

View raw message