From 9e253ed18b58158600fe1b4eed306c11523e7a53 Mon Sep 17 00:00:00 2001 From: rpj Date: Mon, 8 Feb 1999 21:19:53 +0000 Subject: Fri Feb 5 13:42:30 1999 Ross Johnson * semaphore.c: Comment format changes. Wed Feb 3 13:04:44 1999 Ross Johnson * cleanup.c: Rename _pthread_*_cleanup() to pthread_*_cleanup(). * pthread.def: Ditto. * pthread.h: Ditto. * pthread.def (pthread_cleanup_push): Remove from export list; the function is defined as a macro under all compilers. (pthread_cleanup_pop): Ditto. * pthread.h: Remove #if defined(). --- semaphore.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'semaphore.c') diff --git a/semaphore.c b/semaphore.c index e682201..f3bd5c9 100644 --- a/semaphore.c +++ b/semaphore.c @@ -68,7 +68,7 @@ _pthread_sem_init (_pthread_sem_t * sem, int pshared, unsigned int value) * initial value of the semaphore is set to 'value'. * * RESULTS - * 0 successfully created semaphore, + * 0 successfully created semaphore, * EINVAL 'sem' is not a valid semaphore, * ENOSPC a required resource has been exhausted, * ENOSYS semaphores are not supported, @@ -127,7 +127,7 @@ _pthread_sem_destroy (_pthread_sem_t * sem) * This function destroys an unnamed semaphore. * * RESULTS - * 0 successfully destroyed semaphore, + * 0 successfully destroyed semaphore, * EINVAL 'sem' is not a valid semaphore, * ENOSYS semaphores are not supported, * EBUSY threads (or processes) are currently @@ -163,7 +163,7 @@ _pthread_sem_trywait (_pthread_sem_t * sem) * this function returns immediately with the error EAGAIN * * RESULTS - * 0 successfully destroyed semaphore, + * 0 successfully decreased semaphore, * EAGAIN the semaphore was already locked, * EINVAL 'sem' is not a valid semaphore, * ENOSYS semaphores are not supported, -- cgit v1.2.3