a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Devices:
 timer.device
  --background--
  AbortIO
  AddTime
  CmpTime
  GetSysTime
  ReadEClock
  SubTime
  TR_ADDREQUEST
  TR_GETSYSTIME
  TR_SETSYSTIME
Include
GuruMeditation
Docs » Autodocs » timer.device » TR_ADDREQUEST

NAME

	TR_ADDREQUEST -- Submit a request to wait a period of time.

FUNCTION

	Ask the timer to wait a specified amount of time before
replying the timerequest.
The message may be forced to finish early with an
AbortIO()/WaitIO() pair.
TIMER REQUEST
io_Message mn_ReplyPort initialized
io_Device preset by timer in OpenDevice
io_Unit preset by timer in OpenDevice
io_Command TR_ADDREQUEST
io_Flags IOF_QUICK permitted (but ignored)
tr_time a timeval structure specifying how long the
device will wait before replying

RESULT

	tr_time         will be zeroed

NOTES

	This function may be called from interrupts.
Previous to 2.0, the tr_time field was documented as containing
junk when the timerequest was returned.

SEE ALSO

timer.device/AbortIO(), timer.device/TimeDelay

BUGS

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Crystal

SPB
AFL
CSL
DC

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se