Lock-up when calling select(2) or poll(2) from "child" LWP [status=resolved,priority=bug]

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Thu Aug 2 06:31:07 PDT 2007


Nicolas Thery wrote:
Index: src/sys/kern/sys_generic.c
===================================================================
--- src.orig/sys/kern/sys_generic.c	2007-08-01 22:14:28.000000000 +0200
+++ src/sys/kern/sys_generic.c	2007-08-02 13:56:28.000000000 +0200
@@ -1093,6 +1093,7 @@
 		sip->si_flags |= SI_COLL;
 	} else {
 		sip->si_pid = selector->td_proc->p_pid;
+		sip->si_tid = selector->td_lwp->lwp_tid;
 	}
 }
wow, good catch!

thanks, committed!
 simon




More information about the Submit mailing list