Subject: Re: out of flags in p_flags
To: Emmanuel Dreyfus <manu@netbsd.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: tech-kern
Date: 11/06/2002 21:23:22
I can see currently 23 flag bits allocated as far as I can see
(last one P_CHTRACED, with 0x400000). Still 9 flag bits to go AFAICS.

Emmanuel Dreyfus wrote:
> Hi 
> 
> I need two flags for the stop on fork and stop on exec feature, but
> there is only one flag remaining in struct proc's p_flags. What is the
> prefered way to handle this situation? introduce p_flags2, or change
> p_flags to be long long instead of int?
> 
> -- 
> Emmanuel Dreyfus.  
> Hiroshima 45. Tchernobyl 86. Windows 95. 
> manu@netbsd.org    
> 


-- 
Jaromir Dolecek <jdolecek@NetBSD.org>            http://www.NetBSD.org/
-=- We should be mindful of the potential goal, but as the tantric    -=-
-=- Buddhist masters say, ``You may notice during meditation that you -=-
-=- sometimes levitate or glow.   Do not let this distract you.''     -=-