Function psp::sys::sceKernelSignalSema

source ·
#[no_mangle]
pub unsafe extern "C" fn sceKernelSignalSema(
    sema_id: SceUid,
    signal: i32
) -> i32
Expand description

Send a signal to a semaphore

§Parameters

  • sema_id: The sema id returned from sceKernelCreateSema
  • signal: The amount to signal the sema (i.e. if 2 then increment the sema by 2)

§Return Value

< 0 On error.