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

BUG in eval-wish when multi-thread #4

Open
xaengceilbiths opened this issue Mar 31, 2020 · 2 comments
Open

BUG in eval-wish when multi-thread #4

xaengceilbiths opened this issue Mar 31, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@xaengceilbiths
Copy link

xaengceilbiths commented Mar 31, 2020

         (wish (string-append
                 "evalCmdFromScm \""
                 (string-translate cmd
                                   '((#\\ . "\\\\") (#\" . "\\\"")))
                 "\""))
 =>
         (wish (string-append
                 "evalCmdFromScm \""
                 (string-translate cmd
                                   '((#\\ . "\\\\") (#\" . "\\\"")))
                 "\"\n"))
                     (display "scheme->wish: ")
                     (display argument)
                     (newline)))
                     (display argument wish-input) 
                     (newline wish-input) 
=>
                     (display "scheme->wish: ")
                     (display argument)))
                     (display argument wish-input) 

If I really want to run two cmds at the same time, the two input commands will than never mix up, assume the scheme implements ports right.
There may still be issues with the output though.

@utz82 utz82 added the enhancement New feature or request label Mar 31, 2020
@utz82
Copy link
Owner

utz82 commented Mar 31, 2020

Thanks for reporting! I think there may be some more work needed to make pstk play nice in a multi-threaded context. I'm currently looking into it.

@utz82
Copy link
Owner

utz82 commented Jun 21, 2020

I've been exploring the solution you proposed a bit more, and unfortunately it does break some things. That said, I like the general idea behind it, so will explore more.

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

No branches or pull requests

2 participants