Function: SB-SYS:DECODE-TIMEOUT

package type github

Decodes a relative timeout in SECONDS into five values, taking any global deadlines into account: TO-SEC, TO-USEC, STOP-SEC, STOP-USEC, DEADLINEP.

TO-SEC and TO-USEC indicate the relative timeout in seconds and microseconds. STOP-SEC and STOP-USEC indicate the absolute timeout in seconds and microseconds. DEADLINEP is true if the returned values reflect a global deadline instead of the local timeout indicated by SECONDS.

If SECONDS is null and there is no global timeout all returned values will be null. If a global deadline has already passed when DECODE-TIMEOUT is called, it will signal a timeout condition.

Lambda list

(sb-impl::seconds)