scrcpy/app
Romain Vimont 85edba20e7 Enforce deadline reached on timeout
The value of sc_tick_now() has microsecond precision, but
sc_cond_timedwait() has only millisecond precision.

To guarantee that sc_tick_now() >= deadline when sc_cond_timedwait()
returns due to timeout, round up to the next millisecond.

This avoids to call a non-blocking sc_cond_timedwait() in a loop for no
reason until a target deadline during up to 1 millisecond.

Refs 682a691173
2022-02-16 18:29:30 +01:00
..
prebuilt-deps Move prebuilt-deps/ to app/ 2022-02-09 23:18:34 +01:00
src Enforce deadline reached on timeout 2022-02-16 18:29:30 +01:00
tests Rename buffer util functions with sc_ prefix 2022-02-12 09:12:46 +01:00
meson.build Add compilation flag for USB features 2022-02-12 14:15:07 +01:00
scrcpy-windows.manifest Set DPI awareness for Windows 2021-12-20 19:13:02 +01:00
scrcpy-windows.rc Bump version to 1.22 2022-01-29 15:44:52 +01:00
scrcpy.1 Add --no-cleanup option 2022-02-15 19:25:57 +01:00