* threads in guile-1.8
@ 2008-01-25 4:56 Pach Roman (DGS-EC/EHS2)
2008-01-25 19:02 ` Neil Jerram
0 siblings, 1 reply; 2+ messages in thread
From: Pach Roman (DGS-EC/EHS2) @ 2008-01-25 4:56 UTC (permalink / raw)
To: guile-user
[-- Attachment #1: Type: text/plain, Size: 676 bytes --]
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
My question is, are the threads not implemented in version 1.8 ?
Best regards,
Roman Pach
[-- Attachment #2: Type: text/html, Size: 1653 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: threads in guile-1.8
2008-01-25 4:56 threads in guile-1.8 Pach Roman (DGS-EC/EHS2)
@ 2008-01-25 19:02 ` Neil Jerram
0 siblings, 0 replies; 2+ messages in thread
From: Neil Jerram @ 2008-01-25 19:02 UTC (permalink / raw)
To: Pach Roman (DGS-EC/EHS2); +Cc: guile-user
"Pach Roman (DGS-EC/EHS2)" <Roman.Pach@de.bosch.com> 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:
neil@arudy:~/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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-01-25 19:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-25 4:56 threads in guile-1.8 Pach Roman (DGS-EC/EHS2)
2008-01-25 19:02 ` Neil Jerram
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).