diff options
author | Jesse Natalie <jenatali@microsoft.com> | 2021-11-02 10:10:01 -0700 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2021-11-09 04:05:55 +0000 |
commit | df92a13a270bea95f5c5260ee5de0c5b776f5131 (patch) | |
tree | 7d2e78ef43b228dbf39cf6eac0056166a4a66fbb /bin | |
parent | 1ab906d17fb5fd4c1f9921f8e8c5b8691530c2bf (diff) | |
download | mesa-df92a13a270bea95f5c5260ee5de0c5b776f5131.tar.gz |
util/libsync: Fix timeout handling if poll() wakes up early
Check how long poll waited, and use a smaller timeout on the next
iteration through the loop.
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12268>
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions