|
Boost : |
From: Alexander Terekhov (terekhov_at_[hidden])
Date: 2001-09-25 09:22:01
> Actually, fixing the limited number of "native" TSD slots isn't so
> easy. The only way to actually fix it would mean that set_specific()
> 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**."
regards,
alexander.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk