Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thread test sometimes fails #423

Open
lassik opened this issue Oct 17, 2022 · 1 comment
Open

Thread test sometimes fails #423

lassik opened this issue Oct 17, 2022 · 1 comment

Comments

@lassik
Copy link
Contributor

lassik commented Oct 17, 2022

This test sometimes succeeds, sometimes fails, at least on Mac:

==== Testing Threads  ...                                        failed
Errors found in this section:
test parameter.2 on (let ((th1 (make-thread (lambda () (parameterize ((p 4)) (thread-yield!) (set! *thr1-val* (p)))))) (th2 (make-thread (lambda () (parameterize ((p 5)) (thread-yie
ld!) (set! *thr2-val* (p))))))) (thread-start! th1) (thread-start! th2) (thread-join! th1) (thread-join! th2) (list (p) *thr1-val* *thr2-val*)) expected (3 4 5) but got (4 5 3)
@egallesio
Copy link
Owner

Argh, I hate this one. I thought that it was corrected. (I had this problem a long time ago).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants