nanogui: Thread: Why can't set priority in nano-X


[<<] [<] Page 1 of 1 [>] [>>]
Subject: Why can't set priority in nano-X
From: ####@####.####
Date: 21 Nov 2002 03:05:36 -0000
Message-Id: <000a01c29109$f75c4df0$bc64a8c0@LocalHost>

    Hi,I run microwindows on linux.Because my app  have several pthreads and their schedule policy is SCHED_RR and priority is 1;so
 when they run ,nano-X can't get cpu.I set the nano-X in srvmain.c as followed:
    schedParam.sched_priority = 6;
    sched_setscheduler(getpid(),SCHED_RR,&schedParam);
but nano-X can't get cpu yet.
    Thanks a lot!

[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.