Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jul 2002 09:28:18 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Seigo Tanimura <tanimura@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org
Subject:   RE: cvs commit: src/sys/kern kern_condvar.c kern_synch.c
Message-ID:  <XFMail.20020730092818.jhb@FreeBSD.org>
In-Reply-To: <200207301012.g6UACCNY037208@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 30-Jul-2002 Seigo Tanimura wrote:
> tanimura    2002/07/30 03:12:11 PDT
> 
>   Modified files:
>     sys/kern             kern_condvar.c kern_synch.c 
>   Log:
>   In endtsleep() and cv_timedwait_end(), a thread marked TDF_TIMEOUT may
>   be swapped out.  Do not put such the thread directly back to the run
>   queue.

Umm, we don't swap out runnable threads do we?  I thought we only swapped
out sleeping threads.  Oh, the state is incorrectly set to TDS_SLP in the
code.  *sigh*  That is grossly wrong because the thread isn't on a sleep
queue.

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

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?XFMail.20020730092818.jhb>