Where is P_THREADED?

Steve Kargl sgk at troutmask.apl.washington.edu
Tue Jul 8 08:57:08 PDT 2003

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 at 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.


More information about the freebsd-current mailing list