sys_close_epoll

Applicable Products

Product

Supported (√/x)

Ascend 950PR&950DT products

√

Atlas A3 products

√

Atlas A2 products

√

Atlas training products

x

Atlas inference products

√

Atlas 200I/500 A2 inference products

√

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.

Prototype

  • C Prototype
    1
    hi_s32 hi_mpi_sys_close_epoll(hi_s32 epoll_fd)
    
  • Python Function
    1
    ret = acl.himpi.sys_close_epoll(epoll_fd)
    

Parameters

Parameter

Description

epoll_fd

Int, pointer address of the processing epoll instance handle of the media data to be destroyed. The handle is created by calling acl.himpi.sys_create_epoll.

Return Values

Return Value

Description

ret

Int, error code.

0: success

Non-zero: failure. For details, see Common Return Codes.

Constraints

Reference

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

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