aboutsummaryrefslogtreecommitdiffhomepage
path: root/osdep/terminal-unix.c
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2014-11-12 21:47:41 +0100
committerGravatar wm4 <wm4@nowhere>2014-11-12 21:47:41 +0100
commit09e08bfe2e1502c4772c94080b49ddf30a27fd69 (patch)
tree2b0d31b8732298366f94604e7647f10b9ffeb317 /osdep/terminal-unix.c
parentbe9eb083894f207cd390bf7de77f762d754f9a7c (diff)
demux: update cache state when paused
This was removed in commit 480f82fa. This caused the cache display not to update while paused, because the update_cache() function is never called in the thread (now I remember why the extra call was "needed"). The old implementation intentionally run update_cache() only before waiting on a mutex, with no further checks for the condition variable. In theory, this is strictly not sane, but since it was just for the retrieval of the very fuzzy cache status, it was ok. Now we want to call update_cache() outside of the mutex though - which means that in order to avoid missed wakeups, a proper condition has to be used.
Diffstat (limited to 'osdep/terminal-unix.c')
0 files changed, 0 insertions, 0 deletions