Inter Thread Coomunication

From: Mai Daftedar
Date: Wed Dec 02 2009 - 07:17:12 EST


Hi all,
I have a question to ask I have two threads that have
messages(Structure with data) that should be passed between them.
After some googling I learnt that using queues and pipes are expensive
(effieciency wise) and that I should just pass in the parameters and
use mutex to protect shared data...
Can anyone add on to this tradeoff information

Note: Can you CC me in the reply


Thanks
Best Regards
Mai
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/