diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-06-07 13:54:23 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-06-07 13:54:23 +0000 |
commit | 895efd9edc7f20e6d7e7599949e5a4e987a3ff7f (patch) | |
tree | 9f52b9f66ea43046f4c0552a5aa009e96edb656f /cpukit/posix/src/key.c | |
parent | in newlib now (diff) | |
download | rtems-895efd9edc7f20e6d7e7599949e5a4e987a3ff7f.tar.bz2 |
key destructor is now run at correct point in pthread_exit() sequence and
should be correct for other apis as well.
missing page numbers added on some references.
initial attempt at sig_procmask() and pthread_sigmask().
Diffstat (limited to 'cpukit/posix/src/key.c')
-rw-r--r-- | cpukit/posix/src/key.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/posix/src/key.c b/cpukit/posix/src/key.c index 5a6cc4b4f3..bb46d995a2 100644 --- a/cpukit/posix/src/key.c +++ b/cpukit/posix/src/key.c @@ -204,8 +204,6 @@ int pthread_key_delete( * * NOTE: This is the routine executed when a thread exits to * run through all the keys and do the destructor action. - * - * XXX: This needs to be hooked to the thread exitting -- SOMEHOW. */ void _POSIX_Keys_Run_destructors( @@ -252,6 +250,8 @@ void _POSIX_Keys_Run_destructors( /* * The standard allows one to not do this and thus go into an infinite * loop. It seems rude to unnecessarily lock up a system. + * + * Reference: 17.1.1.2 P1003.1c/Draft 10, p. 163, line 99. */ if ( iterations >= PTHREAD_DESTRUCTOR_ITERATIONS ) |