code: plan9front

Download patch

ref: f9fba3091ae59d88fbe40bd3c4a0117c1413c135
parent: 5e3a9d314c04a5fe40583c66ee3734dd9511098a
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Mon Nov 14 09:23:53 EST 2022

nusb/cam: interrupt reader proc on close to unstuck it

--- a/sys/src/cmd/nusb/cam/video.c
+++ b/sys/src/cmd/nusb/cam/video.c
@@ -298,6 +298,7 @@
 	if(c->active == 0 || c->abort)
 		return;
 	c->abort = -1;
+	threadint(c->cvtid);
 }
 
 void