Page 1 of 1

Thread status codes

Posted: Tue Jun 27, 2006 9:17 pm
by misfire
Does anyone know the exact meaning of the status codes returned by ReferThreadStatus()?

The codes must be similar to those on the PSP:

Code: Select all

enum PspThreadStatus
{
        PSP_THREAD_RUNNING = 1,
        PSP_THREAD_READY   = 2,
        PSP_THREAD_WAITING = 4,
        PSP_THREAD_SUSPEND = 8,
        PSP_THREAD_STOPPED = 16,
        PSP_THREAD_KILLED  = 32
};

Posted: Wed Jun 28, 2006 9:38 pm
by sneeze
The codes are afaik indeed very similar (they're the same as the psp ones).