hi_mpi_sys_close_epoll

Description

Closes the epoll instance of media data processing when the epoll model is used to perform input and output operations on the media data processing channel.

The Ascend 310 AI Processor does not support this API in the current version.

The Ascend 910 AI Processor does not support this API in the current version.

Restrictions

hi_mpi_sys_create_epoll, hi_mpi_sys_ctl_epoll, hi_mpi_sys_wait_epoll, and hi_mpi_sys_close_epoll must be used together to operate the input and output data of the media data processing channel by using the epoll programming model.

Prototype

hi_s32 hi_mpi_sys_close_epoll(hi_s32 epoll_fd)

Parameters

Parameter

Input/Output

Description

epoll_fd

Input

File descriptor of the epoll instance to be closed. You can create a file descriptor by calling hi_mpi_sys_create_epoll.

Returns

See Also

For the API call sequence, see JPEGE and VENC.