Date: Mon, 9 Feb 2004 14:24:39 -0800 (PST) From: Julian Elischer <julian@elischer.org> To: John Baldwin <jhb@FreeBSD.org> Cc: threads@FreeBSD.org Subject: Re: TDF_INTERRUPT Message-ID: <Pine.BSF.4.21.0402091421460.69376-100000@InterJet.elischer.org> In-Reply-To: <200402091641.37061.jhb@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
looking at: http://snapshots.jp.freebsd.org/tour/current/kernel/R/47434.html I see: 184 kern/subr_trap.c TDF_NEEDRESCHED | TDF_OWEUPC | TDF_INTERRUPT); and 445 kern/kern_thread.c td2->td_flags &= ~TDF_INTERRUPT; I think this is right.. the flag is not removed until the signal is deliverred.. On Mon, 9 Feb 2004, John Baldwin wrote: > Is there a specific reason that this flag isn't cleared after being checked in > msleep(), cv_wait_sig(), and cv_timedwait_sig() or is it just a bug? > > -- > John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ > "Power Users Use the Power to Serve" = http://www.FreeBSD.org > > _______________________________________________ > freebsd-threads@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-threads > To unsubscribe, send any mail to "freebsd-threads-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0402091421460.69376-100000>