REDIVIVUS

Proposals / #1534

Mac THREAD_Yield: void __cdecl (void)

checked · by KierTaylor · submitted 2026-11-08

It reads no args. The body is a frame-only tail JMP to the import _pthread_yield_np 0x0030b384, which is void(void). The only caller is CODEC_DecompressAllFrames 0x0012cfbc. This is the Mac stand-in for Win32 Sleep(0)/SwitchToThread.

Changes 1, applied together

  1. Set prototype mac 0x0002c023

    signatureundefined THREAD_Yield(void)→void THREAD_Yield(void)
    conventionunknown→__cdecl