close_io_device — Close the specified I/O device.
close_io_device( : : IODeviceHandle : )
该算子 close_io_device closes the I/O device specified
by IODeviceHandle. In particular, all associated channels
are closed (i.e., close_io_channel is called implicitly on
all channels that had been opened for this device) and allocated
memory for data buffers is 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.
IODeviceHandle (input_control, state is modified) io_device → (handle)
Handle of the opened I/O device.
如果参数均有效,算子
close_io_device 返回值 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_info.
Foundation