Date: 2001-09-25 15:08:33
--- In boost_at_y..., "Alexander Terekhov" <terekhov_at_d...> wrote:
> > Actually, fixing the limited number of "native" TSD slots isn't so
> > easy. The only way to actually fix it would mean that
> > could fail with an out of memory error, which is problematic and
> > quite different from expected gaurantees of TSD implementations.
> Pg. 1554/System Interfaces Technical Standard (2001)
> (Draft June 14, 2001):
> "33564 NAME
> 33565 pthread_getspecific, pthread_setspecific
> - thread-specific data management
> 33593 ERRORS
> 33594 No errors are returned from pthread_getspecific().
> 33595 The pthread_setspecific() function **shall fail** if:
> 33596 [*ENOMEM*] **Insufficient memory exists to associate
> the value with the key**."
I should have said *some* implementations of TSD. I really do think
this is at least a potential problem with usage.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk