added timeslice mechanism:
commit0c957ff648cc904e6c46efd8ec702d9f685958dd
authorshagkur <shagkur@258c5a1a-4f63-435d-9564-e8f6d34ab52c>
Sun, 11 Jan 2009 16:42:37 +0000 (11 16:42 +0000)
committershagkur <shagkur@258c5a1a-4f63-435d-9564-e8f6d34ab52c>
Sun, 11 Jan 2009 16:42:37 +0000 (11 16:42 +0000)
treef7b9f6da03783a099ef9d6435ec4e8e930a7bb6a
parent97a729303fac0b15fc922e699e03a77a005982cf
added timeslice mechanism:
threads which run on the same priority will now be preempted on a time base of 10ms. The timeslice mechanism only applies to thread priorities lower 128 (so called user-threads).
This mechanism doesn't interfere the priority based behaviour of the threading subsystem, i.e. threads with higher priorities will run prior to lower ones.

git-svn-id: https://devkitpro.svn.sourceforge.net/svnroot/devkitpro/trunk/libogc@3178 258c5a1a-4f63-435d-9564-e8f6d34ab52c
gc/ogc/lwp_threads.h