thread_lock vs panic/trap

Andriy Gapon avg at FreeBSD.org
Fri May 6 09:12:00 UTC 2011


Can a current thread panic or receive a trap while some other thread holds its
thread_lock (the same lock as pointed to by the td_lock)?

And a related question, can there be a reason for a thread in panic or kdb
context to try to get the thread_lock?

Thank you!
-- 
Andriy Gapon


More information about the freebsd-hackers mailing list