You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default behavior in oat components is to close when the upstream data source exits. When oat-record is in interactive mode, it does not do this because std::getline blocks. It requires the user to put some input into the terminal so std::getline() unblocks,
The text was updated successfully, but these errors were encountered:
- Streams as defined in std are blocking objects.
- Polling them for available characters is difficult because of this
- I've managed to get polling working for stdin and therefore get
oat-record to exit when an input SOURCE dies in interactive mode.
However, this solution does not work for the custom istream I have
defined for ZMQ input. I think I'm on the right track, but its not
there yet.
The default behavior in oat components is to close when the upstream data source exits. When
oat-record
is in interactive mode, it does not do this becausestd::getline
blocks. It requires the user to put some input into the terminal sostd::getline()
unblocks,The text was updated successfully, but these errors were encountered: