Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys



On Wed, May 12, 2010 at 4:36 AM, Jukka Ruohonen <jruohonen%iki.fi@localhost> 
wrote:
> On Tue, May 11, 2010 at 10:26:01PM +0000, Adam Hamsik wrote:
>> Module Name: Âsrc
>> Committed By: haad
>> Date: Â Â Â Â Tue May 11 22:26:00 UTC 2010
>>
>> Modified Files:
>> Â Â Â src/sys/kern: kern_kthread.c
>> Â Â Â src/sys/sys: kthread.h
>>
>> Log Message:
>> Add support for kthread_join in our kernel thread implementation. This is 
>> used
>> by zfs but I think that it can be generaly usefull. Thread need to be created
>> with KTHREAD_JOINABLE flag and can be joined only once.
>> When joinable thread was created it will not e automatically reaped from 
>> system
>> and kthread_join must be called on it to reap it.
>
> Could we have this documented in kthread(9)?

Yes I will update man page later today.

>
> - Jukka.
>



-- 


Regards.

Adam


Home | Main Index | Thread Index | Old Index