![]() |
![]() |
![]() |
![]() |
#define | LOCAL_SYNCOBJ_CREATE_SIGNALED |
#define | LOCAL_SYNCOBJ_WAIT_FLAGS_WAIT_ALL |
#define | LOCAL_SYNCOBJ_WAIT_FLAGS_WAIT_FOR_SUBMIT |
struct | local_syncobj_wait |
struct | local_syncobj_array |
#define | LOCAL_IOCTL_SYNCOBJ_WAIT |
#define | LOCAL_IOCTL_SYNCOBJ_RESET |
#define | LOCAL_IOCTL_SYNCOBJ_SIGNAL |
uint32_t syncobj_create (int fd
,uint32_t flags
);
Create a syncobj with the flags.
int syncobj_handle_to_fd (int fd
,uint32_t handle
,uint32_t flags
);
Convert a syncobj handle to an fd using the flags.
uint32_t syncobj_fd_to_handle (int fd
,int syncobj_fd
,uint32_t flags
);
Convert a syncobj fd a syncobj handle using the flags.
void syncobj_import_sync_file (int fd
,uint32_t handle
,int sync_file
);
Import a sync_file fd into a syncobj handle.
int syncobj_wait_err (int fd
,uint32_t *handles
,uint32_t count
,uint64_t abs_timeout_nsec
,uint32_t flags
);
bool syncobj_wait (int fd
,uint32_t *handles
,uint32_t count
,uint64_t abs_timeout_nsec
,uint32_t flags
,uint32_t *first_signaled
);
Waits in the kernel for any/all the requested syncobjs using the timeout and flags.
struct local_syncobj_wait { __u64 handles; /* absolute timeout */ __s64 timeout_nsec; __u32 count_handles; __u32 flags; __u32 first_signaled; /* only valid when not waiting all */ __u32 pad; };
struct local_syncobj_array { __u64 handles; __u32 count_handles; __u32 pad; };