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 (:read-file-form "../version.lisp-expr")
9 :defsystem-depends-on (:iolib.asdf :iolib.conf)
10 :depends-on (:iolib.base :iolib.syscalls :cffi)
11 :around-compile "iolib.asdf:compile-wrapper"
12 :pathname "multiplex/"
17 (:file "utils" :depends-on ("pkgdcl"))
18 (:file "timers" :depends-on ("pkgdcl"))
19 (:file "queue" :depends-on ("pkgdcl"))
20 (:file "scheduler" :depends-on ("pkgdcl" "timers" "queue"))
23 (:file "fd-entry" :depends-on ("pkgdcl" "timers"))
24 (:file "multiplexer" :depends-on ("pkgdcl" "utils" "fd-entry"))
25 (:file "event-loop" :depends-on ("pkgdcl" "timers" "queue" "scheduler"
26 "fd-entry" "multiplexer"))
29 (:file "fd-wait" :depends-on ("pkgdcl" "utils"))
32 (:file "backend-select"
33 :depends-on ("pkgdcl" "utils" "fd-entry" "multiplexer"))
35 (:file "backend-epoll"
36 :depends-on ("pkgdcl" "utils" "fd-entry" "multiplexer"))
38 (:file "backend-kqueue"
39 :depends-on ("pkgdcl" "utils" "fd-entry" "multiplexer"))
41 :depends-on ("pkgdcl" "multiplexer" "backend-select"
42 #+linux "backend-epoll" #+bsd "backend-kqueue"))))