-
-
Notifications
You must be signed in to change notification settings - Fork 83
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
Eval procedure doesn't work in the newly created thread. #753
Comments
Wow. Good catch.
I'd say it's a bug, for attribute access needs only be locked during attribute access and doesn't need to coincide with the port access. But this particular situation only occurs when you create a new thread and calls eval while the main thread is still loading from the script. That's why it hasn't been unnoticed. |
I'll fix this by the next release, but if this gets in your way, one workaround is not to do everything during loading the script file; for example, if you execute the main program via the
Note that srfi-22 (the feature that
|
See #753 for the reason. This is technically an incompatible change, but port attributes haven't been made public. We dropped procedural port attributes. At this point there's no application, and it complicates lock management.
Fixed in the HEAD. |
When I execute the eval procedure in the newly created thread, the value is not returned.
It worked in ver0.99. It also worked on the REPL.
I'm sorry if I'm wrong.
The text was updated successfully, but these errors were encountered: