Konstantin Belousov c8997bf02a Lock the thread lock around block that retrieves td_wmesg. Otherwise,
procfs could see a thread with assigned td_wchan but still NULL td_wmesg.

Reported and tested by:	pho
MFC after:	1 week
2011-11-09 17:15:51 +00:00
..
2011-10-30 14:55:00 +00:00
2011-10-27 14:15:26 +00:00