HomeFreeBSD

When starting up threads in taskqueue_start_threads create them
rS158904Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

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

Details

Provenance
samAuthored on
Parents
rS158903: Adjust minimum iod threads from 4 to 0 -- since we compile the NFS
Branches
Unknown
Tags
Unknown

Event Timeline