diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-02-22 15:20:52 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-02-22 15:20:52 +0100 |
commit | 7de0f46028e964bd7b7979835ef0a80cf8cb01b7 (patch) | |
tree | 297ad74ff359a0b6975794e37c89764bd5ec5905 /proto-vjoystick/vjoystick.ui | |
parent | 388e9e57d8dcc1b5eda16670bae0e4518515504c (diff) |
video/widget: fix mutex starvation
Get rid of contention in `preview_size' and `set_image'.
After switching the Qt mutex to non-recursive, turns out the writer
thread preempts the UI thread to the point of freezing the entire thing.
Mutex fairness is an implementation detail and we must assume unfair
mutexes in the worst case.
Diffstat (limited to 'proto-vjoystick/vjoystick.ui')
0 files changed, 0 insertions, 0 deletions