aboutsummaryrefslogtreecommitdiff
path: root/manual/signal.texi
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2014-02-03 17:17:59 -0200
committerAlexandre Oliva <aoliva@redhat.com>2014-02-03 17:17:59 -0200
commit909e12ad3462291a4ef47d7b9ce5ae1fd9f194cb (patch)
treea218b73e57de580529a0497bf4b49de5b1b73d98 /manual/signal.texi
parentfd3daba426156bee48cb43b8d39804608145c762 (diff)
downloadglibc-909e12ad3462291a4ef47d7b9ce5ae1fd9f194cb.zip
glibc-909e12ad3462291a4ef47d7b9ce5ae1fd9f194cb.tar.gz
glibc-909e12ad3462291a4ef47d7b9ce5ae1fd9f194cb.tar.bz2
* manual/threads.texi (pthread_key_create, pthread_key_delete,
pthread_getspecific, pthread_setspecific): Format with @deftypefun, and add @safety note. * manual/signal.texi: Move comments that analyze the above functions to their home place.
Diffstat (limited to 'manual/signal.texi')
-rw-r--r--manual/signal.texi15
1 files changed, 3 insertions, 12 deletions
diff --git a/manual/signal.texi b/manual/signal.texi
index 1a32391..f0e57dd 100644
--- a/manual/signal.texi
+++ b/manual/signal.texi
@@ -894,22 +894,13 @@ may come from a signal handler in the same process.
@c uses a static buffer if tsd key creation fails
@c [once] init
@c libc_key_create ok
-@c pthread_key_create ok
-@c KEY_UNUSED ok
-@c KEY_USABLE ok
+@c pthread_key_create dup ok
@c getbuffer @asucorrupt @ascuheap @acsmem
@c libc_getspecific ok
-@c pthread_getspecific ok
+@c pthread_getspecific dup ok
@c malloc dup @ascuheap @acsmem
@c libc_setspecific @asucorrupt @ascuheap @acucorrupt @acsmem
-@c pthread_setspecific @asucorrupt @ascuheap @acucorrupt @acsmem
-@c a level2 block may be allocated by a signal handler after
-@c another call already made a decision to allocate it, thus losing
-@c the allocated value. the seq number is updated before the
-@c value, which might cause an earlier-generation value to seem
-@c current if setspecific is cancelled or interrupted by a signal
-@c KEY_UNUSED ok
-@c calloc dup @ascuheap @acsmem
+@c pthread_setspecific dup @asucorrupt @ascuheap @acucorrupt @acsmem
@c snprintf dup @mtslocale @ascuheap @acsmem
@c _ @ascuintl
This function returns a pointer to a statically-allocated string