gst-plugins-rs/generic/threadshare/src
François Laignel 61c62ee1e8 ts/timers: multiple improvements
This commit improves threadshare timers predictability
by better making use of current time slice.

Added a dedicate timer BTreeMap for after timers (those
that are guaranteed to fire no sooner than the expected
instant) so as to avoid previous workaround which added
half the max throttling duration. These timers can now
be checked against the reactor processing instant.

Oneshot timers only need to be polled as `Future`s when
intervals are `Stream`s. This also reduces the size for
oneshot timers and make user call `next` on intervals.
Intervals can also implement `FusedStream`, which can help
when used in features such as `select!`.

Also drop the `time` module, which was kepts for
compatibility when the `executor` was migrated from tokio
based to smol-like.
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/timers: multiple improvements 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