NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/37987: sys__sched_getparam doesn't work if LWP with lid=1 exited.



The following reply was made to PR kern/37987; it has been noted by GNATS.

From: Andrew Doran <ad%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/37987: sys__sched_getparam doesn't work if LWP with lid=1 
exited.
Date: Sun, 10 Feb 2008 13:10:48 +0000

 On Sat, Feb 09, 2008 at 05:25:00PM +0000, yamt%mwd.biglobe.ne.jp@localhost 
wrote:
 
 > >Fix:
 >      use proc_representative_lwp?
 
 May I suggest LIST_FIRST(&p->p_lwps)? proc_representative_lwp() is not very
 deterministic.
 
 Andrew
 



Home | Main Index | Thread Index | Old Index