vitasdk
Documentation of the vitasdk
workqueues.h
Go to the documentation of this file.
1
7#ifndef _PSP2KERN_KERNEL_THREADMGR_WORKQUEUES_H_
8#define _PSP2KERN_KERNEL_THREADMGR_WORKQUEUES_H_
9
10#include <psp2kern/types.h>
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
16
17typedef int (* SceKernelWorkQueueWorkFunction)(void *args);
18
29int ksceKernelEnqueueWorkQueue(SceUID uid, const char *name, SceKernelWorkQueueWorkFunction work, void *args);
30
31
32#ifdef __cplusplus
33}
34#endif
35
36#endif /* _PSP2KERN_KERNEL_THREADMGR_WORKQUEUES_H_ */
int ksceKernelEnqueueWorkQueue(SceUID uid, const char *name, SceKernelWorkQueueWorkFunction work, void *args)
Enqueue work to a workqueue.
int(* SceKernelWorkQueueWorkFunction)(void *args)
Definition workqueues.h:17
int SceUID
UIDs are used to describe many different kernel objects.
Definition types.h:90