httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@ai.mit.edu (Robert S. Thau)
Subject Re: Items for 1.2 (fwd)
Date Tue, 30 Jul 1996 14:45:58 GMT
  Comments?

Both Posix threads and my rsthreads hack have a notion of "per-thread data"
which is actually meant to cover for cases like this (where what you really
want is a thread-local variable).  Still, that's a bit of a hack --- use of
a palloc()ed buffer someplace would be preferable (just stick the globals
in a palloc()ed structure and pass a pointer to it around...).

rst

Mime
View raw message