Greetings,
I've upgraded TBNL and SBCL and have faced a problem. This is how I load TBNL:
(asdf:operate 'asdf:load-op 'tbnl) (asdf:oos 'asdf:load-op :tbnl-test) (tbnl:start-tbnl)
Error while trying to start listener on port 3000 Can't create a new thread
I don't even get dropped in the debugger. I'm using SBCL 0.9.0.19 under Linux 2.4.27.
*FEATURES*:
(:ASDF :SB-FUTEX :SB-THREAD :ANSI-CL :COMMON-LISP :SBCL :UNIX :SB-DOC :SB-TEST :SB-PACKAGE-LOCKS :SB-UNICODE :IEEE-FLOATING-POINT :X86 :ELF :LINUX :GENCGC :STACK-GROWS-DOWNWARD-NOT-UPWARD :C-STACK-IS-CONTROL-STACK :STACK-ALLOCATABLE-CLOSURES :LINKAGE-TABLE :OS-PROVIDES-DLOPEN :OS-PROVIDES-DLADDR)
May that be the problem that SBCL doesn't support threading under 2.4.x, however *FEATURES* does contain :SB-THREAD?
Thanks for you help.
Hi!
On 2005-05-22 20:46:24, Peter BARABAS wrote:
May that be the problem that SBCL doesn't support threading under 2.4.x, however *FEATURES* does contain :SB-THREAD?
From NEWS:
changes in sbcl-0.8.21 (0.9alpha.1?) relative to sbcl-0.8.20: * incompatible change: thread support for non-NPTL systems has been removed - locking is buggy and unreliable. A threaded SBCL build will now warn at startup and refuse to create new threads, unless futex support is detected in the kernel
So it may have the feature compiled in, but doesn't do anything unless you have NPTL (Kernel 2.6, or 2.4 with a backport).
Regards, Stefan