node: add fields to support sync

Sync is enabled when clients need time to move to a new location.
It's a bit like GStreamer preroll after a seek. Clients that need
time, increment the sync_total. Whenever a seek is done, the server
waits in the Starting state until the sync_pending is 0 (or timeout
later).

Improve atomic operations
This commit is contained in:
Wim Taymans 2019-08-28 13:56:23 +02:00
parent 0a15e1f804
commit 84405dae2a
5 changed files with 70 additions and 34 deletions

@ -1 +1 @@
Subproject commit a52ad27a169ffd6abb4090e1d77385bd879a1d43
Subproject commit 0c2c2c72d04335a7013159ca8c7e284f4676e5df