hi_mpi_sys_close_epoll

Applicable Products

Product

Supported

Ascend 950PR / Ascend 950DT

√

Atlas A3 training products / Atlas A3 inference products

√

Atlas A2 training products / Atlas A2 inference products

√

Atlas 200I/500 A2 inference products

√

Atlas inference products

√

Atlas training products

☓

Function

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.

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 through the epoll programming model. The VPC function does not support this API.

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

Reference

For details about the API call sequence and example, see JPEGE and VENC.