DragonFly submit List (threaded) for 2007-08
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: Lock-up when calling select(2) or poll(2) from "child" LWP [status=resolved,priority=bug]
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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]