Process management in FreeBSD 7

Alexander Sack pisymbol at gmail.com
Thu Jun 19 14:01:58 UTC 2008




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.



More information about the freebsd-questions mailing list