Commit 4870361db595c574a18fbe8dcb003f0e018a89c9

Thomas de Grivel 2021-12-16T18:53:01

more events for kqueue

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff --git a/thot-kqueue.lisp b/thot-kqueue.lisp
index 9f77aca..b77ef78 100644
--- a/thot-kqueue.lisp
+++ b/thot-kqueue.lisp
@@ -190,11 +190,11 @@
       (loop
          (when *stop*
            (return))
-         (with-foreign-objects ((events '(:struct kqueue:kevent) 1000)
+         (with-foreign-objects ((events '(:struct kqueue:kevent) 10000)
                                 (timeout '(:struct kqueue:timespec)))
            (kqueue:seconds-to-timespec timeout 10)
            (let ((n-events (kqueue:kevent kq-fd :events events
-                                          :n-events 1000
+                                          :n-events 10000
                                           :timeout timeout)))
              (declare (type fixnum n-events))
              (dotimes (i n-events)