summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/thread/thr_tcdrain.c
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2005-08-31 19:45:11 +0000
committerpjd <pjd@FreeBSD.org>2005-08-31 19:45:11 +0000
commit06122c40eb6ecf6cf398d8e9492d0f7aa6e9cf21 (patch)
treec18482096b807525ce7fc1a2c1c03750e1eb58f6 /lib/libpthread/thread/thr_tcdrain.c
parent991cce17d6fc922ae716ac677575385a85ef761e (diff)
downloadFreeBSD-src-06122c40eb6ecf6cf398d8e9492d0f7aa6e9cf21.zip
FreeBSD-src-06122c40eb6ecf6cf398d8e9492d0f7aa6e9cf21.tar.gz
- Add md_mtx lock to protect ID number and list of devices.
- Always check mdnew() return value, as even in !autounit case kthread_create() can fail. Those two changes fix serval panics provked by simple stress test. Tested by: Kris The BugMagnet MFC after: 3 days
Diffstat (limited to 'lib/libpthread/thread/thr_tcdrain.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud