[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Improved implementation of *env(3) functions in "libc"
On Thu, Nov 18, 2010 at 04:36:44PM +0000, Andrew Doran wrote:
> A simple unsorted array can be an interesting basis for doing things
> locklessly provided you constrain some of its properties. :-)
Yes, it could. But unfortunately the array can also be change location
if we have to grow it in the middle of a call to setenv(3). And that
would cause massive problem if another thread is currently examing
the array in getenv_r(3).
Matthias Scheler http://zhadum.org.uk/
Main Index |
Thread Index |