Add INLINE declamations for foreign wrappers.
[iolib/alendvai.git] / io.multiplex / time.lisp
blob1819bdaa7eeb58efa51e6cf5f390e4cefaac29ce
1 ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; indent-tabs-mode: nil -*-
2 ;;;
3 ;;; --- Various time-related functions.
4 ;;;
6 (in-package :io.multiplex)
8 ;;;; Timeouts
10 (defun abs-timeout (timeout)
11 (+ (osicat:get-monotonic-time) (normalize-timeout timeout)))
13 (defun min-timeout (&rest timeouts)
14 (collect-min (choose-if #'identity (scan timeouts))))