[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]


   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

   RESULTS
        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