rtprio and kse

Petri Helenius pete at he.iki.fi
Tue Jul 1 10:22:24 PDT 2003


> 
> I don't understand.  Do you want all threads in the process
> to be affected by rtprio()?  Or are you saying there are
> more than 12 threads in the process, but you only want 
> rtprio() to affect those 12 threads?

No, just the one that calls rtprio. The rest should stay as they were.
> 
> As I've said before, rtprio() affects the thread's calling
> KSEG.  Threads created with scope system each get their own
> KSEG.  Threads created with scope process all run in the
> same KSEG.  Threads never migrate between KSEGs.  That's
> all you need to know.  Do with it what you will.
> 
I know, though since there has been quite a few messages flying 
back and forth, I thought it would be a good idea to put the whole
thing into one.

Thanks,

Pete



More information about the freebsd-threads mailing list