rtprio and kse

Petri Helenius pete at he.iki.fi
Tue Jul 1 02:23:37 PDT 2003


> It is legitimate to want a single (or set) of threads to
> have real-time priority and not the others.  Since the
> priority is in the KSEG, this is possible to do without
> fork()ing.
> 
> Dan Eischen
> 
So to summarize, in order to achieve rtprio for one of the ~dozen threads
in the process, winthout affecting the rest of the threads in the same process,
set PTHREAD_SCOPE_SYSTEM when creating the thread
and ask for rtprio in the thread after it has started?

Pete
 


More information about the freebsd-threads mailing list