sys_close_epoll
Applicability
|
Product |
Supported |
|---|---|
|
Atlas 350 Accelerator Card |
√ |
|
|
√ |
|
|
√ |
|
|
x |
|
|
√ |
|
|
√ |
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
1hi_s32 hi_mpi_sys_close_epoll(hi_s32 epoll_fd)
- Python Function
1ret = acl.himpi.sys_close_epoll(epoll_fd)
Parameters
|
Parameter |
Description |
|---|---|
|
epoll_fd |
Int, pointer address of the file descriptor of the epoll instance to be destroyed. The file descriptor is created by calling acl.himpi.sys_create_epoll. |
Return Value
|
Return Value |
Description |
|---|---|
|
ret |
Int, error code. 0 indicates success. Other values indicate failures. For details, see Common Return Codes. |
Restrictions
- acl.himpi.sys_create_epoll, acl.himpi.sys_ctl_epoll, acl.himpi.sys_wait_epoll, and acl.himpi.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.
- The VPC function does not support this API.