httpd-dev mailing list archives

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

In article <19990812164412.B16934@office.knowledge.com> you wrote:
> On Thu, Aug 12, 1999 at 11:23:55AM -0400, Ryan Bloom wrote:
>> Sorry, I should have mention this.  I would rather not use pthread_self if
>> I can help it.  Because going that route means I have to call both
>> getpid() and pthread_self() EVERY time a cgi is requested.  This can get 
>> expensive quickly.
> 
> Only having the most cursory (sp!) experience with pthreads, there
> must be some way to store a per-thread data structure

> [...]
>> Sorry, but I don't know what TSD is.
> 
> Dunno either.

TSD (Thread Specific Data) _is_ exactly your "way to store a per-thread data
structure"....
                                       Ralf S. Engelschall
                                       rse@engelschall.com
                                       www.engelschall.com

Mime
View raw message