wait_secondswait_secondsWaitSecondsWaitSecondswait_seconds (算子)
名称
wait_secondswait_secondsWaitSecondsWaitSecondswait_seconds — 延迟程序的执行。
签名
Herror wait_seconds(double Seconds)
Herror T_wait_seconds(const Htuple Seconds)
def wait_seconds(seconds: float) -> None
描述
算子 wait_secondswait_secondsWaitSecondsWaitSecondsWaitSecondswait_seconds delays the execution by the number
of seconds indicated in SecondsSecondsSecondsSecondssecondsseconds。
wait_secondswait_secondsWaitSecondsWaitSecondsWaitSecondswait_seconds uses the 'performance_counter'"performance_counter""performance_counter""performance_counter""performance_counter""performance_counter" for the
measurement of time intervals. The 'performance_counter'"performance_counter""performance_counter""performance_counter""performance_counter""performance_counter" is
explained in the description of the parameter 'clock_mode'"clock_mode""clock_mode""clock_mode""clock_mode""clock_mode" of
the operator set_systemset_systemSetSystemSetSystemSetSystemset_system。
执行信息
- 多线程类型:独立(即使使用独占算子也能并行运行)。
- 多线程作用域:全局(可从任何线程调用)。
- 未采用并行化处理。
参数
SecondsSecondsSecondsSecondssecondsseconds (输入控制) real → HTuplefloatHTupleHtuple (real) (double) (double) (double)
Number of seconds by which the execution of the program
will be delayed.
默认值:
10
限制:
Seconds >= 0
结果
算子 wait_secondswait_secondsWaitSecondsWaitSecondsWaitSecondswait_seconds 始终返回值 2 ( H_MSG_TRUE )。
可能的后继
system_callsystem_callSystemCallSystemCallSystemCallsystem_call
另见
system_callsystem_callSystemCallSystemCallSystemCallsystem_call,
count_secondscount_secondsCountSecondsCountSecondsCountSecondscount_seconds
模块
基础