Re: kthreads and sched_relinquish

2009-05-11 Thread Andrew Brampton
2009/5/8 Ryan Stone : > Your kernel thread likely has a higher priority than userspace threads. > > Ryan Stone > Thanks for your reply Ryan. So that I understand this correctly, if I had two kernel threads, one with a high priority, and one with a low priority, and both are PRI_TIMESHARE, then th

Re: kthreads and sched_relinquish

2009-05-08 Thread Ryan Stone
Your kernel thread likely has a higher priority than userspace threads. Ryan Stone ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebs

kthreads and sched_relinquish

2009-05-08 Thread Andrew Brampton
Hi, I'm writing a FreeBSD kernel module and I think I really misunderstand something. My module spawns a thread, which should be running while the module is loaded. The thread does some work and then should yield for other threads. However, if there are no other threads waiting, then I would like t