1 ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; indent-tabs-mode: nil -*-
3 (defsystem :iolib.multiplex
4 :description "I/O multiplexing library."
5 :author "Stelian Ionescu <sionescu@cddr.org>"
6 :maintainer "Stelian Ionescu <sionescu@cddr.org>"
8 :depends-on (:iolib.base :iolib.syscalls :cffi)
9 :pathname (merge-pathnames #p"multiplex/" *load-truename*)
14 (:file "utils" :depends-on ("pkgdcl"))
15 (:file "timers" :depends-on ("pkgdcl"))
16 (:file "queue" :depends-on ("pkgdcl"))
17 (:file "scheduler" :depends-on ("pkgdcl" "timers" "queue"))
20 (:file "fd-entry" :depends-on ("pkgdcl" "timers"))
21 (:file "multiplexer" :depends-on ("pkgdcl" "utils" "fd-entry"))
22 (:file "event-loop" :depends-on ("pkgdcl" "timers" "queue" "scheduler"
23 "fd-entry" "multiplexer"))
26 (:file "fd-wait" :depends-on ("pkgdcl" "utils"))
29 (:file "backend-select"
30 :depends-on ("pkgdcl" "utils" "fd-entry" "multiplexer"))
32 (:file "backend-epoll"
33 :depends-on ("pkgdcl" "utils" "fd-entry" "multiplexer"))
35 (:file "backend-kqueue"
36 :depends-on ("pkgdcl" "utils" "fd-entry" "multiplexer"))
38 :depends-on ("pkgdcl" "multiplexer" "backend-select"
39 #+linux "backend-epoll" #+bsd "backend-kqueue"))))