Searched hist:69657 (Results 1 - 1 of 1) sorted by relevance

/freebsd-10.1-release/sys/kern/
H A Dkern_kthread.cdiff 69657 Wed Dec 06 01:45:15 MST 2000 jhb Pass RFSTOPPED to fork1() in kthread_create() to avoid a race condition
where fork1() could put the process on the run queue where it could be
snatched up by another CPU before kthread_create() had set the proper
fork handler. Instead, we put the new kthread on the runqueue after its
fork handler has been sent.

Noticed by: jake
Looked over by: peter

Completed in 73 milliseconds