Commit bb8fe3ffc5e4fe08b8bd75a5ae1ac543a9e084f7

Thomas de Grivel 2017-06-19T14:31:40

correct number of worker threads

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/thot-threaded.lisp b/thot-threaded.lisp
index 7ddc2ee..e3b6d10 100644
--- a/thot-threaded.lisp
+++ b/thot-threaded.lisp
@@ -47,7 +47,7 @@
   (declare (type (unsigned-byte 31) fd))
   (setq *stop* nil
         *listen-fd* fd)
-  (with-worker-threads *init-threads*
+  (with-worker-threads (1- *init-threads*)
     (worker-thread)))
 
 (when bordeaux-threads:*supports-threads-p*