DragonFly kernel List (threaded) for 2008-05
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: kthread_create and rel_mplock
:Threads start with mplock held currently, but if your thread does want
:mplock, it will be wise to hold it explicitly.
:
:Best Regards,
:sephe
Yah. For kernel threads you can start a thread without the MP lock
by creating it with TDF_MPSAFE set in the passed flags. Otherwise
the thread will start with the lock.
-Matt
Matthew Dillon
<dillon@backplane.com>
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]