Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 May 2001 17:36:06 -0700 (PDT)
From:      Jason Evans <jasone@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc_r/uthread uthread_sem.c
Message-ID:  <200105180036.f4I0a6X73220@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105180036.f4I0a6X73220>