mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mai Daftedar <mai.daftedar@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: Inter Thread Coomunication
Date: Wed, 2 Dec 2009 14:17:05 +0200	[thread overview]
Message-ID: <2cd4ff050912020417r27b52a89v4e676c7d4ab74ad4@mail.gmail.com> (raw)

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

             reply	other threads:[~2009-12-02 12:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-02 12:17 Mai Daftedar [this message]
2009-12-02 12:36 ` Clemens Ladisch
2009-12-02 17:19 ` Stefan Richter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2cd4ff050912020417r27b52a89v4e676c7d4ab74ad4@mail.gmail.com \
    --to=mai.daftedar@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®