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

Pipeline state polling #677

Open
5 tasks
gavv opened this issue Jan 26, 2024 · 0 comments
Open
5 tasks

Pipeline state polling #677

gavv opened this issue Jan 26, 2024 · 0 comments
Labels
api Public C API enhancement

Comments

@gavv
Copy link
Member

gavv commented Jan 26, 2024

  • Add pipeline::StateTracker::poll_changes() that allows to block (from any thread) until state is changed to one in the specified mask. It should support timeout argument (with an option for no timeout and infinite timeout).
  • sndio::IDevice::poll() and implement it in ReceiverSource and SenderSink using StateTracker.
  • Add roc_receiver_poll() and roc_sender_poll() to C API.
  • Add pipeline tests.
  • Add public_api tests.

Needed for #473 abd #680.

@gavv gavv added enhancement api Public C API labels Jan 26, 2024
@gavv gavv added this to Frontlog in kanban board Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Public C API enhancement
Projects
Development

No branches or pull requests

1 participant