gst-plugins-rs/generic/threadshare/src
François Laignel 1be30b8ecc ts/scheduler: fix shutdown
A strong handle reference was held in the `block_on_priv` `Result`
handler in the thread for the `Scheduler::start` code path, which
lead to the `Handler` strong count not dropping to 0 when it
should, leading to the shutdown request not being triggered.

Use an Arc<AtomicBool> instead of a oneshot channel for shutdown.
The main Future is always polled and never relies on a waker, a
`poll_fn` is cheap and does the job.

Unpark the scheduler after posting a request to shutdown.
2022-09-13 07:29:50 +00:00
..
appsrc Update for GLib ParamSpec builder API changes 2022-09-05 11:45:47 +03:00
inputselector ts/timers: multiple improvements 2022-09-13 07:29:50 +00:00
jitterbuffer ts/timers: multiple improvements 2022-09-13 07:29:50 +00:00
proxy plugins: Simplify code using ParamSpecBuilder 2022-08-22 17:58:43 +03:00
queue plugins: Simplify code using ParamSpecBuilder 2022-08-22 17:58:43 +03:00
runtime ts/scheduler: fix shutdown 2022-09-13 07:29:50 +00:00
tcpclientsrc Update for GLib ParamSpec builder API changes 2022-09-05 11:45:47 +03:00
udpsink ts/timers: multiple improvements 2022-09-13 07:29:50 +00:00
udpsrc Update for GLib ParamSpec builder API changes 2022-09-05 11:45:47 +03:00
dataqueue.rs Update to gst::_log_macro_ 2022-02-21 20:50:01 +01:00
lib.rs Allow "unused_doc_comments" as we use hotdoc and not rustdoc 2022-08-29 18:33:22 -04:00
socket.rs ts: migrate elements to try_next / handle_item 2022-08-10 20:10:08 +02:00