Site Tools


documentation:development:opera:pf25:ppgfldr:pgsfldr:spr:05spr009

WaitUntil

Waits for a given amount of time to pass.

Synopsis

Err WaitTime(Item ioreq, uint32 seconds, uint32 micros);

Description

Puts the current context to sleep until the system clock reaches a given time.

Arguments

  • ioreq An active timer device I/O request, as obtained from CreateTimerIOReq().
  • seconds The seconds value that the timer must reach.
  • micros The microseconds value that the timer must reach.

Return Value

Returns >= 0 for success, or a negative error code for failure.

Implementation

Convenience call implemented in clib.lib V24.

Associated Files

time.h, clib.lib

See Also

CreateTimerIOReq(), DeleteTimerIOReq(), WaitTime()

documentation/development/opera/pf25/ppgfldr/pgsfldr/spr/05spr009.txt · Last modified: 2022/10/10 16:53 by 127.0.0.1