| View previous topic :: View next topic |
| Author |
Message |
KickinAezz
Joined: 03 Jun 2007 Posts: 328
|
Posted: Sat Dec 06, 2008 11:59 pm Post subject: Modifying a target thread's Priority known it's UID |
|
|
Is it possible to change a thread's priority in the runtime? _________________ Intrigued by PSP system Since December 2006.
Use it more for Development than for Gaming. |
|
| Back to top |
|
 |
ne0h
Joined: 21 Feb 2008 Posts: 386
|
Posted: Sun Dec 07, 2008 12:40 am Post subject: |
|
|
I think that sceKernelChangeThreadPriority can help you _________________ Get Xplora! |
|
| Back to top |
|
 |
KickinAezz
Joined: 03 Jun 2007 Posts: 328
|
Posted: Sun Dec 07, 2008 2:27 am Post subject: |
|
|
| ne0h wrote: | | I think that sceKernelChangeThreadPriority can help you |
Wow... How could I have missed that!
Thanks. _________________ Intrigued by PSP system Since December 2006.
Use it more for Development than for Gaming. |
|
| Back to top |
|
 |
Torch

Joined: 28 May 2008 Posts: 842
|
Posted: Sun Dec 07, 2008 7:28 am Post subject: |
|
|
| You'll also have to intelligently assign a new priority relative to the other running threads. A simple thread with a 10000 delay in its loop will visibly choke anything with a priority 3 or 4 below its own. |
|
| Back to top |
|
 |
|