1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-04 05:50:26 +02:00

(9): New.

This commit is contained in:
Thien-Thi Nguyen 2001-11-07 00:37:39 +00:00
parent 04bbd6ce09
commit d5b7b58432

39
BUGS
View file

@ -167,5 +167,44 @@ Keith Wright sez:
> I get the impression that it is supposed to build without 'makeinfo',
> if this is not so it should be mentioned in the README or INSTALL.
bug 9 -- sibling threads not infinite looping
reported-by: giraud@tif.inria.fr / 2001-09-24
fixed: not-yet
Manuel Giraud sez:
> I've configure guile-1.5.4 '--with-threads' and '--with-modules' on a
> "classical" Linux box and used this code that crash silently :
>
> (use-modules (ice-9 threads))
>
> (begin-thread
> (let loop ()
> (display "a")
> (newline)
> (loop)))
>
> (begin-thread
> (let loop ()
> (display "b")
> (newline)
> (loop)))
mdj sez:
+ 2001-10-06 Mikael Djurfeldt <mdj@linnaeus>
+
+ These changes fixes a race condition in the Guile coop - pthread
+ compatibility code.
+
+ * coop.c (mother_awake_p): New variable.
+ (coop_create): Set mother_awake_p before creating or signalling
+ mother; wait until mother is going to sleep before returning.
+ (mother): Reset mother_awake_p before going to sleep.
+
ttn sez:
crash still occurs w/ "guile -s bug.scm" (cvs checkout on 2001/11/06).
however, "guile -l bug.scm" works as expected.
[BUGS ends here]