2010-02-02 20 views

उत्तर

13
os.nice(increment) 
Add increment to the process’s “niceness”. Return the new niceness. Availability: Unix. 

http://docs.python.org/library/os.html#os.nice से।

क्या कोई कारण है कि आप इसे बच्चे की प्रक्रिया में नहीं बुला सकते हैं?

0

ctypes मॉड्यूल आयात करने और pthread_schedparam() या SetThreadPriority() (Linux/Windows) की तलाश करने का प्रयास करें।

संबंधित मुद्दे