Site Tools


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

WaitTime

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 for a specific amount of time.

Arguments

  • ioreq An active timer device I/O request, as obtained from CreateTimerIOReq().
  • seconds The number of seconds to wait for.
  • micros The number of microseconds to wait for.

Return Value

Returns >=0 if successful, or a negative error code if it fails.

Implementation

Convenience call implemented in clib.lib V24.

Associated Files

time.h, clib.lib

See Also

CreateTimerIOReq(), DeleteTimerIOReq(), WaitUntil()

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