多线程编程指南

thr_getprio 返回值

thr_getprio() 在成功运行后返回 0。如果检测到以下情况,thr_getprio() 将失败并返回对应的值。


ESRCH

描述:

tid 指定的值不会引用现有的线程。