diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-04-19 18:26:10 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-04-19 18:26:10 +0000 |
commit | 4e648ea3ad623fa7e6f2afcdf2cb0aefefdda061 (patch) | |
tree | 5d2a3274fca36375eb460f483d802db22c0fea5e /nptl/semaphore.h | |
parent | 2c008571c3ad156479307b7e23185ae566b5776a (diff) | |
download | glibc-4e648ea3ad623fa7e6f2afcdf2cb0aefefdda061.tar.gz |
Update.
* stdlib/cxa_finalize.c (__cxa_finalize): Don't call
UNREGISTER_ATFORK if d == NULL.
Diffstat (limited to 'nptl/semaphore.h')
-rw-r--r-- | nptl/semaphore.h | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/nptl/semaphore.h b/nptl/semaphore.h index b8861e5da2..b29f8c24c5 100644 --- a/nptl/semaphore.h +++ b/nptl/semaphore.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2002 Free Software Foundation, Inc. +/* Copyright (C) 2002, 2003 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -48,14 +48,19 @@ extern int sem_close (sem_t *__sem) __THROW; /* Remove named semaphore NAME. */ extern int sem_unlink (__const char *__name) __THROW; -/* Wait for SEM being posted. */ -extern int sem_wait (sem_t *__sem) __THROW; +/* Wait for SEM being posted. + + This function is a cancellation point and therefore not marked with + __THROW. */ +extern int sem_wait (sem_t *__sem); #ifdef __USE_XOPEN2K -/* Similar to `sem_wait' but wait only until ABSTIME. */ +/* Similar to `sem_wait' but wait only until ABSTIME. + + This function is a cancellation point and therefore not marked with + __THROW. */ extern int sem_timedwait (sem_t *__restrict __sem, - __const struct timespec *__restrict __abstime) - __THROW; + __const struct timespec *__restrict __abstime); #endif /* Test whether SEM is posted. */ |