From owner-cvs-all@FreeBSD.ORG Fri Jan 16 19:50:31 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B584016A4CE; Fri, 16 Jan 2004 19:50:31 -0800 (PST) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id B517B43D2F; Fri, 16 Jan 2004 19:50:30 -0800 (PST) (envelope-from eischen@vigrid.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.10/8.12.1) with ESMTP id i0H3oTiw014735; Fri, 16 Jan 2004 22:50:29 -0500 (EST) Date: Fri, 16 Jan 2004 22:50:29 -0500 (EST) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: David Xu In-Reply-To: <200401170245.i0H2jbx9029178@repoman.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/gen sem.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Jan 2004 03:50:31 -0000 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).