From owner-cvs-all Fri May 4 13:37:13 2001 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 41E4C37B423; Fri, 4 May 2001 13:37:08 -0700 (PDT) (envelope-from deischen@FreeBSD.org) Received: (from deischen@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f44Kb8878282; Fri, 4 May 2001 13:37:08 -0700 (PDT) (envelope-from deischen) Message-Id: <200105042037.f44Kb8878282@freefall.freebsd.org> From: Daniel Eischen Date: Fri, 4 May 2001 13:37:08 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc_r/uthread uthread_kern.c uthread_sig.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG deischen 2001/05/04 13:37:08 PDT Modified files: lib/libc_r/uthread uthread_kern.c uthread_sig.c Log: Move the check for a pending signals to after the thread has been placed in any scheduling queue(s). The process of dispatching signals to a thread can change its state which will attempt to add or remove the thread from any scheduling queue to which it belongs. This can break some assertions if the thread isn't in the queue(s) implied by its state. When adding dispatching a pending signal to a thread, be sure to remove the signal from the threads set of pending signals. PR: 27035 Tested by: brian MFC in: 1 week Revision Changes Path 1.38 +16 -7 src/lib/libc_r/uthread/uthread_kern.c 1.36 +4 -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