close_io_channelT_close_io_channelCloseIoChannelCloseIoChannelclose_io_channel (算子名称)
名称
close_io_channelT_close_io_channelCloseIoChannelCloseIoChannelclose_io_channel — Close I/O channels.
参数签名
描述
该算子 close_io_channelclose_io_channelCloseIoChannelCloseIoChannelCloseIoChannelclose_io_channel closes transmission
channels opened by open_io_channelopen_io_channelOpenIoChannelOpenIoChannelOpenIoChannelopen_io_channel. The references to the
channels are passed in IOChannelHandleIOChannelHandleIOChannelHandleIOChannelHandleIOChannelHandleiochannel_handle. In particular,
allocated memory and reserved device resources are released.
运行信息
- 多线程类型:可重入(与非独占操作符并行运行)。
- 多线程作用域:全局(可以从任何线程调用)。
- 未经并行化处理。
This operator modifies the state of the following input parameter:
During execution of this operator, access to the value of this parameter must be synchronized if it is used across multiple threads.
参数表
IOChannelHandleIOChannelHandleIOChannelHandleIOChannelHandleIOChannelHandleiochannel_handle (input_control, state is modified) io_channel(-array) → HIOChannel, HTupleMaybeSequence[HHandle]HTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handles of the opened I/O channels.
结果
如果参数均有效,算子
close_io_channelclose_io_channelCloseIoChannelCloseIoChannelCloseIoChannelclose_io_channel 返回值 2 (
H_MSG_TRUE)
. If necessary an
exception is raised. In this case, an extended error information may be
set and can be queried with 该算子 get_extended_error_infoget_extended_error_infoGetExtendedErrorInfoGetExtendedErrorInfoGetExtendedErrorInfoget_extended_error_info.
可能的前置算子
open_io_channelopen_io_channelOpenIoChannelOpenIoChannelOpenIoChannelopen_io_channel
可能的后置算子
close_io_deviceclose_io_deviceCloseIoDeviceCloseIoDeviceCloseIoDeviceclose_io_device
模块
Foundation