cvs commit: src/sys/kern subr_taskqueue.c
sam at FreeBSD.org
Wed May 24 15:12:03 PDT 2006
sam 2006-05-24 22:11:08 UTC
FreeBSD src repository
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
Revision Changes Path
1.37 +16 -9 src/sys/kern/subr_taskqueue.c
More information about the cvs-src