From owner-cvs-all Thu May 17 17:36: 9 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 3735B37B422; Thu, 17 May 2001 17:36:06 -0700 (PDT) (envelope-from jasone@FreeBSD.org) Received: (from jasone@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f4I0a6X73220; Thu, 17 May 2001 17:36:06 -0700 (PDT) (envelope-from jasone) Message-Id: <200105180036.f4I0a6X73220@freefall.freebsd.org> From: Jason Evans Date: Thu, 17 May 2001 17:36:06 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc_r/uthread uthread_sem.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: X-Loop: FreeBSD.ORG jasone 2001/05/17 17:36:06 PDT Modified files: lib/libc_r/uthread uthread_sem.c Log: Condition variable waiters are queued in descending priority order, so there is no need to wake all waiters to assure that the highest priority thread is run. As the semaphore code is written, there was no correctness problem, but the change improves sem_post() performance. Pointed out by: deischen Revision Changes Path 1.10 +3 -10 src/lib/libc_r/uthread/uthread_sem.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message