MCPcopy Create free account
hub / github.com/RPCSX/rpcsx / join_handler_thread

Method join_handler_thread

ps3fw/cellSpurs.cpp:1057–1068  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1055}
1056
1057s32 _spurs::join_handler_thread(ppu_thread& ppu, vm::ptr<CellSpurs> spurs)
1058{
1059 if (spurs->ppu0 == 0xFFFFFFFF)
1060 {
1061 return CELL_SPURS_CORE_ERROR_STAT;
1062 }
1063
1064 ensure(sys_ppu_thread_join(ppu, static_cast<u32>(spurs->ppu0), vm::var<u64>{}) == 0);
1065
1066 spurs->ppu0 = 0xFFFFFFFF;
1067 return CELL_OK;
1068}
1069
1070s32 _spurs::initialize(ppu_thread& ppu, vm::ptr<CellSpurs> spurs, u32 revision, u32 sdkVersion, s32 nSpus, s32 spuPriority, s32 ppuPriority, u32 flags, vm::cptr<char> prefix, u32 prefixSize, u32 container, vm::cptr<u8> swlPriority, u32 swlMaxSpu, u32 swlIsPreem)
1071{

Callers

nothing calls this directly

Calls 2

sys_ppu_thread_joinFunction · 0.85
ensureFunction · 0.50

Tested by

no test coverage detected