shithub: drawterm

Download patch

ref: e03e9178e2764004e07d750690ca3cdd43bdf569
parent: 537f761602734ebd5b131ad469280249888dd63b
author: Russ Cox <[email protected]>
date: Mon Nov 7 12:36:34 EST 2005

no deadlock

--- a/kern/term.c
+++ b/kern/term.c
@@ -110,7 +110,6 @@
 	Point p;
 	Rectangle r;
 
-	drawqlock();
 	o = 8*h;
 	r = Rpt(window.min, Pt(window.max.x, window.max.y-o));
 	p = Pt(window.min.x, window.min.y+o);
@@ -119,7 +118,6 @@
 	memimagedraw(gscreen, r, back, ZP, nil, ZP, S);
 	flushmemscreen(gscreen->r);
 	curpos.y -= o;
-	drawqunlock();
 }
 
 static void