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.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"