Where is P_THREADED?

Julian Elischer julian at elischer.org
Tue Jul 8 11:42:38 PDT 2003


P_THREADED was renamed P_SA.
All files contianing it were also alterred...
you must have an old file stashed somewhere.

In particular kern_synch.c is out of date.
possibly many more..



On Tue, 8 Jul 2003, 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.
> 
> Since it's not very likely that I can do without _that_ file in the
> kernel, I waited a few days and tried the whole thing again with a new
> cvsup.  Still no go.  So I tried 'make include' ... still no go.  So I
> tried:
> 
> [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?
> 
> Dave.
> 
> -- 
> ============================================================================
> |David Gilbert, Velocet Communications.       | Two things can only be     |
> |Mail:       dgilbert at velocet.net             |  equal if and only if they |
> |http://daveg.ca                              |   are precisely opposite.  |
> =========================================================GLO================
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
> 



More information about the freebsd-current mailing list