mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-23 06:11:46 +00:00
[c-host] decrease LGMP polling interval to a sane value and comment
This commit is contained in:
parent
fea0a98b9e
commit
9d7f773b9c
3 changed files with 10 additions and 3 deletions
2
LGMP
2
LGMP
|
@ -1 +1 @@
|
|||
Subproject commit 1a27ea94067dbfd38734a030145eb93ae4d2a958
|
||||
Subproject commit 2ba8fd3391759ad95384d598ab26e39283cbb71a
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
B1-111-gd860d6b891+1
|
||||
B1-115-gfea0a98b9e+1
|
|
@ -94,7 +94,14 @@ static int lgmpThread(void * opaque)
|
|||
DEBUG_ERROR("lgmpHostProcess Failed: %s", lgmpStatusString(status));
|
||||
break;
|
||||
}
|
||||
usleep(10000);
|
||||
|
||||
/*
|
||||
2ms should be good for up to 500FPS, do not lower this value as excessive
|
||||
polling of io memory at this time causes QEMU/KVM stalls due to an unknown
|
||||
fault.
|
||||
See: https://lists.gnu.org/archive/html/qemu-devel/2020-01/msg06331.html
|
||||
*/
|
||||
usleep(2000);
|
||||
}
|
||||
|
||||
app.running = false;
|
||||
|
|
Loading…
Reference in a new issue