On Wed, Nov 12, 2008 at 8:12 AM, Mr. Gecko [EMAIL PROTECTED] wrote:
Even that command says it's 0, so I'm thinking that virtual pc is using some
unknown way of changing how much processor they use.
Threads can individually be created with different priorities. In
reality threads are the real
Ok thanks.
On Nov 12, 2008, at 1:10 PM, Shawn Erickson wrote:
On Wed, Nov 12, 2008 at 8:12 AM, Mr. Gecko [EMAIL PROTECTED]
wrote:
Even that command says it's 0, so I'm thinking that virtual pc is
using some
unknown way of changing how much processor they use.
Threads can individually be
Ok I'm not sure if it worked, but when I change the priority in my app
it stays the same for that app even after I relaunch my app so that is
a good sign. Would you know of a good way to test it out so I know if
it works?
Thanks,
Mr. Gecko
___
hmm it appears to say 0 for virtual pc. I wonder what virtual pc does
because it seems to work.
On Nov 11, 2008, at 5:19 PM, Mr. Gecko wrote:
Ok I'm not sure if it worked, but when I change the priority in my
app it stays the same for that app even after I relaunch my app so
that is a
A priority of 0 is the default unless a process was launched by a process
that had a different priority, and then it would have that priority as well.
I'm afraid I don't follow what you're doing and what values you're seeing,
based on your use of that and my app. You can use the Unix command ps
Hello I am trying to make sure I get this and also asking a few
questions about it.
So to change a process priority you use renice like so
renice +20 -p PID
Here are the questions
is there a way to get the current priority?
is there a way to set the priority to lets say 20 or 1?
how can I make
a process priority you use renice like so
renice +20 -p PID
Here are the questions
is there a way to get the current priority?
is there a way to set the priority to lets say 20 or 1?
how can I make it normal after setting it?
I am making an app that would help you speed up what your doing and so
I
so you can't do anything really without adium permissions. I guess
that isn't a problem, I can have a preference for enabling and
disabling so it doesn't ask for password every boot (of course
disabled by default).
is getpriority like this
int pri = getpriority(PRIO_PROCESS, pid);
and does