[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: threads in guile-1.8
From: |
Neil Jerram |
Subject: |
Re: threads in guile-1.8 |
Date: |
Fri, 25 Jan 2008 19:02:00 +0000 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
"Pach Roman (DGS-EC/EHS2)" <address@hidden> writes:
> Hello,
Hello!
> I have tried to move my software from guile-1.6 to 1.8.
> The part using threads did not want to run.
> So I tried a small test:
>
> guile> (use-modules (ice-9 threads))
> guile> (make-thread (lambda () '()))
>
> and become a following error message:
>
> In standard input:
> 3: 0* (make-thread (lambda () (quote ())))
> 3: 1 [call-with-new-thread #<procedure #f ()> #<procedure thread-handler
> #>]
> standard input:3:1: In procedure call-with-new-thread in expression
> (call-with-new-thread (lambda () #) %thread-handler):
>
> standard input:3:1: Function not implemented
That's not good. Which 1.8 version are you using? ("guile --version"
will tell you.)
> My question is, are the threads not implemented in version 1.8 ?
Yes, they certainly are implemented. With 1.8.x CVS, I get:
address@hidden:~/Organized/SW/Guile/guile-cvs-1.8/guile/guile-core$
./pre-inst-guile -q
guile> (use-modules (ice-9 threads))
guile> (make-thread (lambda () '()))
#<thread 3072936880 (807aca8)>
and I don't believe there have been big changes to the relevant code
since the start of the 1.8 series.
Did you configure --with-threads ? If not, maybe that's the problem.
(Although I still can't work out where the "Function not implemented"
message comes from.)
Regards,
Neil