Sergey,
thanks for your comment - however it was my own mistake
in rt.c ...
static void setSchedPolicy( int policy )
{
struct sched_param schedParam = { 0 };
TRY(sched_getparam(0, &schedParam),-1);
switch ( policy )
{
case SCHED_RR:
case SCHED_FIFO:
schedParam.sched_priori
On 17 February 2011 12:50, Mats Lindberg wrote:
> All,
> I have been using a small program /rt) that utilize the sched_setscheduler()
> syscall to set the scheduling policy of a process to SCHED_RR. Been running
> it FBSD 5.x and 6.x. Now when migrating to FBSD 8.1 I get EPERM back at me.
> used t
On Thu, Feb 17, 2011 at 10:50:06AM +0100, Mats Lindberg wrote:
> All,
> I have been using a small program /rt) that utilize the sched_setscheduler()
> syscall to set the scheduling policy of a process to SCHED_RR. Been running
> it FBSD 5.x and 6.x. Now when migrating to FBSD 8.1 I get EPERM back a
All,
I have been using a small program /rt) that utilize the sched_setscheduler()
syscall to set the scheduling policy of a process to SCHED_RR. Been running
it FBSD 5.x and 6.x. Now when migrating to FBSD 8.1 I get EPERM back at me.
used to be able to run it like e.g.
> ./rt -sr -p2 -- prog
which
4 matches
Mail list logo