[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #20814] Issues with multithreading (using pthread, libguile 1.8.2)
From: |
anonymous |
Subject: |
[bug #20814] Issues with multithreading (using pthread, libguile 1.8.2) |
Date: |
Sat, 18 Aug 2007 17:36:40 +0000 |
User-agent: |
Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.6 (like Gecko) (Kubuntu) |
URL:
<http://savannah.gnu.org/bugs/?20814>
Summary: Issues with multithreading (using pthread, libguile
1.8.2)
Project: Guile
Submitted by: None
Submitted on: Saturday 08/18/2007 at 17:36 UTC
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
Hello,
I hope I haven't misinterpreted the Guile Reference Manual, Edition 1.1, but
as I understand section 4.3.5 on using Guile with a multi-threaded C
application, it would be possible to execute a program's main loop, written
entirely in C, in one thread while running a Guile REPL in another thread
while interpreting Guile scripts in another.
If I do try to do this or execute any scm_* functions in 2 threads at the
same time, the result apparently is a segmentation fault, a stack overflow or,
in case of attempting to use scm_spawn_thread in one thread to spawn the
others, an error message stating "Function not implemented".
The latter error message seems to be exclusively related to use of
scm_spawn_thread, whereas any of the rest of the list of errors accompanies
any usage of scm functions in two threads simultaneously, even if such usage
is merely "scm_c_eval_string("(+ 5 6)");".
I'd like to ask you if any of this is related to a bug with guile 1.8.2 or if
what I'd like to do is as of yet impossible. If necessary, I'll clarify
anything that needs clarification and if I'm wasting your time and
misunderstood the manual, I apologize in advance.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?20814>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #20814] Issues with multithreading (using pthread, libguile 1.8.2),
anonymous <=
- [bug #20814] Issues with multithreading (using pthread, libguile 1.8.2), anonymous, 2007/08/18
- [bug #20814] Issues with multithreading (using pthread, libguile 1.8.2), Ludovic Courtès, 2007/08/20
- [bug #20814] Issues with multithreading (using pthread, libguile 1.8.2), anonymous, 2007/08/20
- [bug #20814] Issues with multithreading (using pthread, libguile 1.8.2), anonymous, 2007/08/20
- [bug #20814] Issues with multithreading (using pthread, libguile 1.8.2), Ludovic Courtès, 2007/08/20
- [bug #20814] Issues with multithreading (using pthread, libguile 1.8.2), anonymous, 2007/08/20
- [bug #20814] Issues with multithreading (using pthread, libguile 1.8.2), Ludovic Courtès, 2007/08/20