Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jun 2008 07:01:57 -0700 (PDT)
From:      Alexander Sack <pisymbol@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Process management in FreeBSD 7
Message-ID:  <18009680.post@talk.nabble.com>
In-Reply-To: <20def4870806190428q2340c58fkfa036cf4ec205c5b@mail.gmail.com>
References:  <20def4870806190428q2340c58fkfa036cf4ec205c5b@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help




Mr Y wrote:
> 
> Hi All,
> 
> I'm trying to find the equivilents for Linux's schedule() and
> set_task_state(TASK_RUNNING).
> 
> Does anybody have a tip?
> 

I would start perhaps in kern/kern_sync.c and mi_switch() which will request
that a new process be scheduled (sched_switch in either 4BSD or ULE
scheduler's).

That should get you pointed in the right direction!  :D!

-aps
-- 
View this message in context: http://www.nabble.com/Process-management-in-FreeBSD-7-tp18007313p18009680.html
Sent from the freebsd-questions mailing list archive at Nabble.com.




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