1 ;;;; -*- Mode: Lisp; indent-tabs-mode: nil -*-
3 (asdf:defsystem :iolib.multiplex
4 :description "I/O multiplexing library."
5 :author "Stelian Ionescu <sionescu@cddr.org>"
6 :maintainer "Stelian Ionescu <sionescu@cddr.org>"
7 :version #.(with-open-file (f (merge-pathnames "../version.lisp-expr"
8 (or *compile-file-pathname*
12 :defsystem-depends-on (:iolib.asdf :iolib.conf)
13 :depends-on (:iolib.base :iolib.syscalls :cffi)
14 :default-component-class :iolib-source-file
15 :pathname "multiplex/"
20 (:file "utils" :depends-on ("pkgdcl"))
21 (:file "timers" :depends-on ("pkgdcl"))
22 (:file "queue" :depends-on ("pkgdcl"))
23 (:file "scheduler" :depends-on ("pkgdcl" "timers" "queue"))
26 (:file "fd-entry" :depends-on ("pkgdcl" "timers"))
27 (:file "multiplexer" :depends-on ("pkgdcl" "utils" "fd-entry"))
28 (:file "event-loop" :depends-on ("pkgdcl" "timers" "queue" "scheduler"
29 "fd-entry" "multiplexer"))
32 (:file "fd-wait" :depends-on ("pkgdcl" "utils"))
35 (:file "backend-select"
36 :depends-on ("pkgdcl" "utils" "fd-entry" "multiplexer"))
38 (:file "backend-epoll"
39 :depends-on ("pkgdcl" "utils" "fd-entry" "multiplexer"))
41 (:file "backend-kqueue"
42 :depends-on ("pkgdcl" "utils" "fd-entry" "multiplexer"))
44 :depends-on ("pkgdcl" "multiplexer" "backend-select"
45 #+linux "backend-epoll" #+bsd "backend-kqueue"))))