vitasdk
Documentation of the vitasdk
callback.h
Go to the documentation of this file.
1 
6 #ifndef _PSP2_KERNEL_THREADMGR_CALLBACK_H_
7 #define _PSP2_KERNEL_THREADMGR_CALLBACK_H_
8 
9 #include <vitasdk/build_utils.h>
10 #include <psp2/types.h>
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
33 int sceKernelCreateCallback(const char *name, unsigned int attr, SceKernelCallbackFunction func, void *userData);
34 
45 
54 
63 int sceKernelNotifyCallback(SceUID cb, int arg2);
64 
73 
82 
89 
90 
91 #ifdef __cplusplus
92 }
93 #endif
94 
95 #endif /* _PSP2_KERNEL_THREADMGR_CALLBACK_H_ */
int sceKernelDeleteCallback(SceUID cb)
Delete a callback.
int sceKernelCreateCallback(const char *name, unsigned int attr, SceKernelCallbackFunction func, void *userData)
Create callback.
int(* SceKernelCallbackFunction)(int notifyId, int notifyCount, int notifyArg, void *userData)
Callback function prototype.
Definition: threadmgr.h:139
int sceKernelGetCallbackCount(SceUID cb)
Get the callback count.
int sceKernelGetCallbackInfo(SceUID cb, SceKernelCallbackInfo *infop)
Gets the status of a specified callback.
int sceKernelNotifyCallback(SceUID cb, int arg2)
Notify a callback.
int sceKernelCancelCallback(SceUID cb)
Cancel a callback ?
int sceKernelCheckCallback(void)
Check callback ?
Structure to hold the status information for a callback.
Definition: threadmgr.h:142
int SceUID
UIDs are used to describe many different kernel objects.
Definition: types.h:90