rtprio and kse

David Xu davidxu at viatech.com.cn
Tue Jul 1 02:43:40 PDT 2003


----- Original Message ----- 
From: "Petri Helenius" <pete at he.iki.fi>
To: <deischen at freebsd.org>; "David Xu" <davidxu at viatech.com.cn>
Cc: <freebsd-threads at freebsd.org>
Sent: Tuesday, July 01, 2003 5:21 PM
Subject: Re: rtprio and kse


> 
> > 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?
> 

Yes, quite right. :-)

> Pete
>  
> _______________________________________________
> freebsd-threads at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-threads
> To unsubscribe, send any mail to "freebsd-threads-unsubscribe at freebsd.org"
> 



More information about the freebsd-threads mailing list