micke wrote: > Hi, I'm changing some code in kernel-space, but I have a problem. In the > dispatcher /usr/src/uts/common/disp/disp.c in the swtch() function I want to > know if the current thread t is a real-time thread or not? How do I do this? > If, by real-time you mean the thread is of high enough priority that it can preempt kernel threads, then you might test if (t->t_pri >= kpreemptpri).
Thanks, -Eric _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
