Skip to content

ts/Task: wake up after the triggering event is pushed

The threadshare scheduler is awaken when aborting a task loop, but not after a triggering event is pushed. This can cause throttling to induce long state transitions for pipelines with many streams.

Observed for Unprepare with:

GST_DEBUG=ts-benchmark:4 ../../target/debug/examples/benchmark 2000 ts-udpsrc 2 20 5000

Second commit renames the awake and wake_up scheduler related functions as unpark, which I think is more suitable for their purpose.

Merge request reports

Loading