Source-Changes-D archive

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

Re: CVS commit: src/sys



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)?

- Jukka.


Home | Main Index | Thread Index | Old Index