Re: kernel threads locking data

2007-03-04 Thread Kyle McMartin
On Sun, Mar 04, 2007 at 08:04:48PM +0300, Mockern wrote: > hi, > > how is better to lock data (a buffer) which is used by 2 kernel threads? > if it's only used by the threads, and not by anything running in interrupt context, use a mutex. Documentation/mutex-design.txt has most of the info you'

kernel threads locking data

2007-03-04 Thread Mockern
hi, how is better to lock data (a buffer) which is used by 2 kernel threads? thank you - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at