diff options
author | sam <sam@FreeBSD.org> | 2006-05-24 22:11:07 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2006-05-24 22:11:07 +0000 |
commit | ebcbe046b9de0cd9b1ee9874be24aef9ed6699c6 (patch) | |
tree | 554379d93fa4cbb010cdddcd7b1db69dfefb18c4 /sys/nfsclient/nfs_nfsiod.c | |
parent | 726780d475390e3ee689390193445ae26af8043a (diff) | |
download | FreeBSD-src-ebcbe046b9de0cd9b1ee9874be24aef9ed6699c6.zip FreeBSD-src-ebcbe046b9de0cd9b1ee9874be24aef9ed6699c6.tar.gz |
When starting up threads in taskqueue_start_threads create them
stopped before adjusting their priority and setting them on the run
q so they cannot race for resources (pointed out by njl).
While here add a console printf on thread create fails; otherwise
noone may notice (e.g. return value is always 0 and caller has no
way to verify).
Reviewed by: jhb, scottl
MFC after: 2 weeks
Diffstat (limited to 'sys/nfsclient/nfs_nfsiod.c')
0 files changed, 0 insertions, 0 deletions