From cosmonaut.ok at zoho.com Wed Oct 9 10:52:59 2013 From: cosmonaut.ok at zoho.com (cosmonaut.ok) Date: Wed, 09 Oct 2013 03:52:59 -0700 Subject: [cl-muproc-devel] [CL-MUPROC] Troubles with threads in SBCL Message-ID: <1419cd92815.-5586757855426236814.-2633628203557585563@zoho.com> Hi all I'm new with cl-muproc. Playing with cl-muproc, I've got strange trouble. SBCL cannot create more, than about 600 threads. Here is simple code, which I use to get this error: (defun newmuproc () (muproc-spawn (gensym) (lambda () (mumsg-receive (from) ((terminated reason) t (muproc-log-errorstream "Got termination from ~a: ~a.~%" terminated reason)) ((test) (muproc-log-errorstream "Got value ~a.~%" test))) (muproc-log-errorstream "Done.~%")) nil :trap-exits t :errorstream *trace-output*)) (dotimes (i 1000) (newmuproc)) Could not create a new thread. [Condition of type SIMPLE-ERROR] Restarts: 0: [RETRY] Retry SLIME REPL evaluation request. 1: [*ABORT] Return to SLIME's top level. 2: [ABORT] Abort thread (#<THREAD "new-repl-thread" RUNNING {BF89CB1}>) ; Evaluation aborted on #<SIMPLE-ERROR "Could not create a new thread." {B604149}>. (length (muproc-all-processes)) 584 sbcl --version SBCL 1.0.57.0.debian Best regards Alexander aka 'CosmonauT' Vynnyk -------------- next part -------------- An HTML attachment was scrubbed... URL: