mirror of
https://github.com/IllusionMan1212/vitasdk-odin.git
synced 2026-10-24 02:12:38 +00:00
22 lines
795 B
Odin
22 lines
795 B
Odin
package kernel
|
|
|
|
import "core:c"
|
|
import sce "../common"
|
|
|
|
foreign import threadmgr "system:SceThreadmgrForDriver_stub"
|
|
|
|
foreign threadmgr {
|
|
ksceKernelInitializeFastMutex :: proc(fast_mutex: ^SceKernelFastMutex, name: cstring, attr: c.int, opt: rawptr) -> c.int ---
|
|
ksceKernelFinalizeFastMutex :: proc(fast_mutex: ^SceKernelFastMutex) -> c.int ---
|
|
|
|
ksceKernelLockFastMutex :: proc(fast_mutex: ^SceKernelFastMutex) -> c.int ---
|
|
ksceKernelTryLockFastMutex :: proc(fast_mutex: ^SceKernelFastMutex) -> c.int ---
|
|
ksceKernelUnlockFastMutex :: proc(fast_mutex: ^SceKernelFastMutex) -> c.int ---
|
|
|
|
ksceKernelGetFastMutexInfo :: proc(fast_mutex: ^SceKernelFastMutex, info: rawptr) -> c.int ---
|
|
}
|
|
|
|
/* backward compatibility */
|
|
|
|
ksceKernelDeleteFastMutex :: ksceKernelFinalizeFastMutex
|