From owner-cvs-all Mon Nov 20 5:12:49 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A80BA37B479; Mon, 20 Nov 2000 05:12:45 -0800 (PST) Received: (from deischen@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id FAA46047; Mon, 20 Nov 2000 05:12:45 -0800 (PST) (envelope-from deischen@FreeBSD.org) Message-Id: <200011201312.FAA46047@freefall.freebsd.org> From: Daniel Eischen Date: Mon, 20 Nov 2000 05:12:45 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc_r/uthread uthread_mutex.c uthread_sig.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG deischen 2000/11/20 05:12:45 PST Modified files: lib/libc_r/uthread uthread_mutex.c uthread_sig.c Log: Change a "while {}" loop to a "do {} while" to allow it to be executed at least once, fixing pthread_mutex_lock() for recursive mutex lock attempts. Correctly set a threads signal mask while it is executing a signal handler. The mask should be the union of its current mask, the signal being handled, and the mask from the signal action. Reported by: Dan Nelson MFC Candidate Revision Changes Path 1.27 +4 -4 src/lib/libc_r/uthread/uthread_mutex.c 1.32 +5 -1 src/lib/libc_r/uthread/uthread_sig.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message