cvs commit: src/lib/libc/gen sem.c

Daniel Eischen eischen at vigrid.com
Fri Jan 16 19:50:31 PST 2004


On Fri, 16 Jan 2004, David Xu wrote:

> davidxu     2004/01/16 18:45:37 PST
> 
>   FreeBSD src repository
> 
>   Modified files:
>     lib/libc/gen         sem.c 
>   Log:
>   Enable cancellation point in sem_wait, it is required by POSIX.
>   For pshared semaphore, this commit still does not enable cancellation
>   point, I think there should be a pthread_enter_cancellation_point_np
>   for libc to implement a safe cancellation point.

Hmm, I'd rather have the threads library provide cancellation
wrappers for those functions (like the other functions in libc).



More information about the cvs-src mailing list