Subject: Re: struct proc->p_dupfd should be per-lwp?
To: Jaromir Dolecek <jdolecek@netbsd.org>
From: Jason Thorpe <thorpej@wasabisystems.com>
List: tech-kern
Date: 06/29/2003 10:39:25
On Sunday, June 29, 2003, at 09:30 AM, Jaromir Dolecek wrote:
> p_dupfd appears as if it should be per-LWP. It's not supposed
> to be shared by all threads within process, it's pertinent to currently
> executing caller - i.e. LWP.
>
> Any reason to keep it in struct proc rather than moving to struct lwp?
Sounds like a good change to make.
-- Jason R. Thorpe <thorpej@wasabisystems.com>