Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jul 2003 08:57:05 -0700
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        David Gilbert <dgilbert@velocet.ca>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Where is P_THREADED?
Message-ID:  <20030708155705.GA67186@troutmask.apl.washington.edu>
In-Reply-To: <16138.57217.730225.412122@canoe.velocet.net>
References:  <16138.57217.730225.412122@canoe.velocet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 08, 2003 at 11:13:05AM -0400, David Gilbert wrote:
> For a couple of days now, I've been trying to advance from 5.1-RELEASE
> to -CURRENT.  I havn't been able to compile the kernel, however, as
> even 'make buildkernel' (after having done a 'make buildworld') fails
> looking for a P_THREADED symbol in kern_synch.c.
> 
> [4:10:310]root@canoe:/usr/src> find . -type f | xargs grep P_THREADED
> ./sys/kern/kern_synch.c:        if (p->p_flag & P_THREADED || p->p_numthreads > 1) {
> ./sys/kern/kern_synch.c:        if (td->td_proc->p_flag & P_THREADED)
> 
> ... so if P_THREADED doesn't exist in the /usr/src tree, where would I
> be finding it?
> 

What version of kern_synch.c do you have?  Revision 1.226 renamed
P_THREADED to P_SA.  This suggests that your source tree isn't
up to date.

-- 
Steve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030708155705.GA67186>