psl1ght
A free SDK for Sony's PS3 console
Macros | Functions
spu_thread.h File Reference

SPU runtime library. More...

#include <sys/cdefs.h>

Go to the source code of this file.

Macros

#define SPU_THREAD_BASE   0xF0000000ULL
 
#define SPU_THREAD_OFFSET   0x00100000ULL
 
#define SPU_THREAD_Sig_Notify_1   0x5400C
 
#define SPU_THREAD_Sig_Notify_2   0x5C00C
 

Functions

void spu_thread_group_exit (int status)
 Terminate the running SPU thread group. More...
 
void spu_thread_group_yield (void)
 Preempt the running SPU thread group. More...
 
void spu_thread_exit (int status)
 Terminate the running SPU thread. More...
 

Detailed Description

SPU runtime library.

These are the SPU library calls for SPU threads.

See also
Quick guide to SPU management

Function Documentation

◆ spu_thread_exit()

void spu_thread_exit ( int  status)

Terminate the running SPU thread.

Parameters
statusThe thread's returned exit status value.

◆ spu_thread_group_exit()

void spu_thread_group_exit ( int  status)

Terminate the running SPU thread group.

Parameters
statusThe thread group's returned exit status value.

◆ spu_thread_group_yield()

void spu_thread_group_yield ( void  )

Preempt the running SPU thread group.