Skip to content

Optional input ports #45

Description

@JohnMoon-Voyager

Please describe your question

Is there a concept of an optional input port in Holoscan? I tried defining a port and then conditionally doing an op_input.receive(), but it seemed regardless of the condition, the operator was still expecting input on the port and the app would deadlock.

I would think an optional port would work similarly to GNU Radio: if the port is not connected in the application, it is essentially ignored, but if it is connected, the operator blocks until input is received on both ports.
 

Please specify what Holoscan SDK version you are using

v2.9.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions