Subject: Re: CVS commit: [yamt-idlelwp] src/sys
To: None <tech-kern@netbsd.org>
From: Mindaugas R. <rmind@NetBSD.org>
List: tech-kern
Date: 03/24/2007 15:36:07
yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi) wrote:
> > yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi) wrote:
> > > do you still need the lwp argument for sched_nextlwp()?
> > Thought curlwp could be used instead. Remove it?
> 
> whichever curlwp or an explicit argument, does your sched_nextlwp use it
> for something?
Yes, it needs "old" LWP, which is equal to curlwp at that stage. So I suggest
to remove the argument and use curlwp inside (when needed, of course).

-- 
Best regards,
Mindaugas
www.NetBSD.org