diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2015-07-20 14:49:11 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2015-07-20 14:49:11 +0200 |
commit | fee073b676044d454220616fb99bca6586a21f19 (patch) | |
tree | 87b1198ba92bf7180b5aa1ebafe08874c5c62212 /bin/tools/config.h.in | |
parent | d6d430491cc7f81945e4061d3ae3bbe67593c0a7 (diff) | |
download | uca-fee073b676044d454220616fb99bca6586a21f19.tar.gz uca-fee073b676044d454220616fb99bca6586a21f19.tar.bz2 uca-fee073b676044d454220616fb99bca6586a21f19.tar.xz uca-fee073b676044d454220616fb99bca6586a21f19.zip |
Fix #72: avoid race condition
The advance_buffers variable introduced in 954bcbc was not properly locked thus
leading to race conditions in the UI update thread and the actual grab thread.
With this change, we always grab into a single buffer that is updated whenever
the GUI is ready. This avoids latencies but might cause noticeable tearing.
Diffstat (limited to 'bin/tools/config.h.in')
0 files changed, 0 insertions, 0 deletions