Skip to content

wait_secondsWaitSecondsWaitSecondswait_secondswait_seconds🔗

Short description🔗

wait_secondsWaitSecondsWaitSecondswait_secondswait_seconds — Delaying the execution of the program.

Signature🔗

wait_seconds( real Seconds )void WaitSeconds( const HTuple& Seconds )static void HOperatorSet.WaitSeconds( HTuple seconds )def wait_seconds( seconds: float ) -> None

Herror wait_seconds( double Seconds )

Herror T_wait_seconds( const Htuple Seconds )

static void HSystem::WaitSeconds( double Seconds )

static void HSystem.WaitSeconds( double seconds )

Description🔗

The operator wait_secondsWaitSeconds delays the execution by the number of seconds indicated in Secondssecondsseconds.

wait_secondsWaitSeconds uses the 'performance_counter'"performance_counter" for the measurement of time intervals. The 'performance_counter'"performance_counter" is explained in the description of the parameter 'clock_mode'"clock_mode" of the operator set_systemSetSystem.

Execution information🔗

Execution information
  • Multithreading type: reentrant (runs in parallel with non-exclusive operators).

  • Multithreading scope: global (may be called from any thread).

  • Processed without parallelization.

Parameters🔗

Secondssecondsseconds (input_control) real → (real)HTuple (double)HTuple (double)floatHtuple (double)

Number of seconds by which the execution of the program will be delayed.

Default: 1010
Restriction: Seconds >= 0

Result🔗

The operator wait_secondsWaitSeconds always returns the value 2 (H_MSG_TRUE).

Combinations with other operators🔗

Combinations

Possible successors

system_callSystemCall

See also

system_callSystemCall, count_secondsCountSeconds

Module🔗

Foundation