summaryrefslogtreecommitdiff
path: root/indra/llwindow/llwindowwin32.h
diff options
context:
space:
mode:
authorAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2026-04-04 05:37:17 +0300
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2026-04-07 03:25:02 +0300
commit321a6e962bc8bf86b7ef09f035fbc1f60c1d17f2 (patch)
tree85e029313b04ff577ba836065ba92c6e00689589 /indra/llwindow/llwindowwin32.h
parent5cdd65e6a95896ac1c9f4b0ca5dbec85e8b0f485 (diff)
#5612 Reduce delays on resource access for main thread
Our main thread was of normal priority, despite being a render thread, so it was forced to compete for some of the resources. Give it high priority.
Diffstat (limited to 'indra/llwindow/llwindowwin32.h')
-rw-r--r--indra/llwindow/llwindowwin32.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llwindow/llwindowwin32.h b/indra/llwindow/llwindowwin32.h
index 8159092794..d7fc715258 100644
--- a/indra/llwindow/llwindowwin32.h
+++ b/indra/llwindow/llwindowwin32.h
@@ -148,6 +148,8 @@ protected:
void initCursors();
HCURSOR loadColorCursor(LPCTSTR name);
bool isValid();
+ void setThreadPriorityHigh();
+ void setThreadPriorityNormal();
void moveWindow(const LLCoordScreen& position,const LLCoordScreen& size);
virtual LLSD getNativeKeyData();