Thread status codes

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

Post Reply
misfire
Posts: 110
Joined: Mon Sep 06, 2004 7:53 am
Location: Germany

Thread status codes

Post 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
};
sneeze
Posts: 15
Joined: Fri Mar 03, 2006 4:31 am

Post by sneeze »

The codes are afaik indeed very similar (they're the same as the psp ones).
Post Reply