pthreads - Why the PRI in "prstat" of Solaris is different from the priority for pthread_create -



pthreads - Why the PRI in "prstat" of Solaris is different from the priority for pthread_create -

when using prstat of solaris status of threads, following. 1 thing not understnd te pri each thread totally different configuration created these threads pthread_create. set priority sme thread 10, pri here shows totally different priority against that. can help reply question. there matching relationship between pri of prstat command , parameter pthread_create?

pid username size rss state pri nice time cpu process/lwpid 5874 mals 355m 313m run 32 0 20:09:58 4.1% epu1/26 5874 mals 355m 313m sleep 54 0 8:50:39 1.8% epu1/36 5874 mals 355m 313m sleep 59 0 2:13:10 1.5% epu1/40 5874 mals 355m 313m sleep 44 0 2:25:36 1.5% epu1/37 5874 mals 355m 313m sleep 59 0 5:21:01 1.1% epu1/24 5874 mals 355m 313m sleep 59 0 5:21:00 1.1% epu1/22

the priorities displayed prstat command current priorities of threads.

unless in unlikely case of real time / fixed priorities threads, continously vary depending on scheduling class, load, respective usage, , on.

it expected these values different ones set programmatically static priority values.

pthreads solaris

Comments

Popular posts from this blog

javascript - THREE.js reposition vertices for RingGeometry -

javascript - I need to update the text of a paragraph by inline edit -

assembly - What is the addressing mode for ld, add, and rjmp instructions? -