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

Sending more than one variable with send_var() causes subsequent sync() call to block forever #14

Closed
TheHashTableSlasher opened this issue May 19, 2020 · 2 comments
Assignees
Labels
bug Something isn't working high priority Should be worked on before anything else matlab client Relates to the Matlab client code specifically

Comments

@TheHashTableSlasher
Copy link
Collaborator

e.g. running

d = dime('matlab', 'ipc', '/tmp/dime.sock');
d.send_var('matlab', 'a');
d.send_var('matlab', 'b');
 ...
d.send_var('matlab', 'z');
d.sync();

works fine, but

d = dime('matlab', 'ipc', '/tmp/dime.sock');
d.send_var('matlab', 'a', 'b', ..., 'z');
d.sync();

Blocks forever on the last line. The server is receiving extra 'send' commands after 'sync' is called, so I suspect this is a client-side issue.

@TheHashTableSlasher TheHashTableSlasher added bug Something isn't working high priority Should be worked on before anything else server Relates to the server code matlab client Relates to the Matlab client code specifically and removed server Relates to the server code labels May 19, 2020
@TheHashTableSlasher TheHashTableSlasher self-assigned this May 20, 2020
@cuihantao
Copy link
Collaborator

Does it work if you just send two at a time?

@TheHashTableSlasher
Copy link
Collaborator Author

Well, it used to not for anything more than one. Now it doesn't have any issues about it? I can only guess one of the commits I made today fixed it incidentally. I'm going to close this for now, but I will reopen it if it arises again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high priority Should be worked on before anything else matlab client Relates to the Matlab client code specifically
Projects
None yet
Development

No branches or pull requests

2 participants