On Tuesday, May 08, 2012 12:07:12 pm Ian Lepore wrote:
> I just realized that I've accidentally coded a sequence similar to this
> in a driver:
>
>s = intr_disable();
>// do stuff here
>tsleep(sc, 0, "twird", hz / 4);
>// more stuff
>intr_restore(s);
>
> Much to my surpise thi
.. re-run with witness? :)
Adrian
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"
I just realized that I've accidentally coded a sequence similar to this
in a driver:
s = intr_disable();
// do stuff here
tsleep(sc, 0, "twird", hz / 4);
// more stuff
intr_restore(s);
Much to my surpise this works, including waking up due to wakeup(sc)
being called from an interru
3 matches
Mail list logo