TDF_INTERRUPT

Julian Elischer julian at elischer.org
Mon Feb 9 14:24:43 PST 2004


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 at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
> "Power Users Use the Power to Serve"  =  http://www.FreeBSD.org
> 
> _______________________________________________
> freebsd-threads at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-threads
> To unsubscribe, send any mail to "freebsd-threads-unsubscribe at freebsd.org"
> 



More information about the freebsd-threads mailing list