Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Jul 2003 11:21:19 +0200
From:      "Petri Helenius" <pete@he.iki.fi>
To:        <deischen@freebsd.org>, "David Xu" <davidxu@viatech.com.cn>
Cc:        freebsd-threads@freebsd.org
Subject:   Re: rtprio and kse
Message-ID:  <007601c33fb2$6c5d2c80$f9d7473e@PETEX31>
References:  <Pine.GSO.4.10.10306301817580.20764-100000@pcnet5.pcnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help

> 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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?007601c33fb2$6c5d2c80$f9d7473e>