Process management in FreeBSD 7

Alexander Sack pisymbol at
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

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

View this message in context:
Sent from the freebsd-questions mailing list archive at

More information about the freebsd-questions mailing list