gst-plugins-rs/gst-plugin-threadshare
Sebastian Dröge 2dfca38977 threadshare: Turn the single-threaded executor until no futures are left to be run before waiting
Otherwise in e.g. a pipeline like
  ts-udpsrc ! ts-queue ! fakesink
the first turn would only get a packet and queue it up, then we would
wait due to throttling and only then we would forward the packet from
the queue (but not poll the socket again), wait again due to throttling
and only then poll and get the next packet.

See https://github.com/tokio-rs/tokio/issues/310
2018-11-05 13:36:47 +02:00
..
examples threadshare: Update udpsrc benchmark a bit 2018-11-05 13:36:47 +02:00
src threadshare: Turn the single-threaded executor until no futures are left to be run before waiting 2018-11-05 13:36:47 +02:00
tests threadshare: Add test for queue 2018-11-05 13:36:20 +02:00
Cargo.toml threadshare: Turn the single-threaded executor until no futures are left to be run before waiting 2018-11-05 13:36:47 +02:00