From 7739f20ce8608c0613552e430f31008705050bf1 Mon Sep 17 00:00:00 2001 From: rodri Date: Thu, 23 May 2024 21:08:55 +0000 Subject: replace the Framebufctl's Lock with a QLock. this provides fair scheduling, minimizing contention. --- graphics.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'graphics.h') diff --git a/graphics.h b/graphics.h index 1158bef..90a79dd 100644 --- a/graphics.h +++ b/graphics.h @@ -217,7 +217,7 @@ struct Framebuf struct Framebufctl { - Lock; + QLock; Framebuf *fb[2]; /* double buffering */ uint idx; /* front buffer index */ -- cgit v1.2.3