acl.himpi.sys_wait_epoll
C Prototype |
hi_s32 hi_mpi_sys_wait_epoll(hi_s32 epoll_fd, hi_dvpp_epoll_event *events, hi_s32 max_events, hi_s32 timeout, hi_s32 *event_num); |
|---|---|
Python Function |
event, event_num, ret = acl.himpi.sys_wait_epoll(epoll_fd, max_events, timeout) |
Function Usage |
Waits for the epoll instance of media data processing to generate an event when the epoll model is used to perform input and output operations on the media data processing channel. The Atlas 200/300/500 Inference Product does not support this API. The Atlas Training Series Product does not support this API. |
Input Description |
epoll_fd: int, pointer address of the media data processing epoll instance handle. The handle is created by calling acl.himpi.sys_create_epoll. max_events: int, maximum number of events. Must not exceed the number of elements in the events array. timeout: int, timeout interval (ms).
|
Return Value |
event: list, which saves the generated event information. For details, see hi_dvpp_epoll_event. event_num: int, number of events occurred on the epoll instance. ret: int, error code.
|
Restrictions |
|