Changes

Jump to navigation Jump to search
386 bytes added ,  16:58, 4 October 2014
no edit summary
Line 1,049: Line 1,049:     
Using CloseHandle() with a KThread handle will terminate the specified thread, only if the reference count reaches 0.
 
Using CloseHandle() with a KThread handle will terminate the specified thread, only if the reference count reaches 0.
 +
 +
Lower priority values give the thread higher priority. For userland apps, priorities between 0x18 and 0x3F are allowed. The priority of the app's main thread seems to be 0x30.
 +
 +
The thread scheduler is cooperative, therefore if a thread takes up all the CPU time (for example if it enters an endless loop), all the other threads that run on the same CPU core won't get a chance to run.
    
= Memory Mapping =
 
= Memory Mapping =
136

edits

Navigation menu