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

output api calls when no outputs connected #82

Open
guruofquality opened this issue May 1, 2013 · 1 comment
Open

output api calls when no outputs connected #82

guruofquality opened this issue May 1, 2013 · 1 comment
Assignees
Labels

Comments

@guruofquality
Copy link
Owner

Update topology tells the block it only has as many outputs as are actually connected. This means, no connections, no output ports.

Users may want to write work routines that look and operate as if a port was connected, even if its not. Messages and buffers just dereference off into the ether if nothing is connected.

However, currently if a user expects an output port, but nothing is connected, the code will cause a segfault calling into the API with an out of range index. Since the internal structures are size zero...

@ghost ghost assigned guruofquality May 1, 2013
@guruofquality
Copy link
Owner Author

this applies to inputs too now that we have an api to post to inputs

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

No branches or pull requests

1 participant