mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-22 15:11:31 +00:00
[idd] lgmp: use precise clipboard polling
Drive adaptive clipboard stream polling with a high-resolution waitable timer instead of rounding microsecond delays into coarse wait-function timeouts. Preserve the explicit stop and local wake events while avoiding a clock-tick stall at each file-transfer window.
This commit is contained in:
@@ -114,6 +114,7 @@ private:
|
||||
IClipboardTarget * m_target = nullptr;
|
||||
HANDLE m_stopEvent = nullptr;
|
||||
HANDLE m_wakeEvent = nullptr;
|
||||
HANDLE m_pollTimer = nullptr;
|
||||
HANDLE m_thread = nullptr;
|
||||
|
||||
bool m_available = false;
|
||||
|
||||
Reference in New Issue
Block a user