linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: linux-bluetooth@vger.kernel.org, netdev <netdev@vger.kernel.org>
Subject: batostr() function
Date: Mon, 07 May 2012 13:49:43 +0200	[thread overview]
Message-ID: <1336391383.4325.24.camel@jlt3.sipsolutions.net> (raw)

Really? 2 static buffers that are used alternately based on a static
variable? How can that possibly be thread-safe? That may work in very
restricted scenarios, but ...

johannes


             reply	other threads:[~2012-05-07 11:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-07 11:49 Johannes Berg [this message]
2012-05-08 13:30 ` batostr() function David Herrmann
2012-05-08 14:20   ` Ulisses Furquim
2012-05-08 14:25   ` Johannes Berg
2012-05-08 14:30     ` Andrei Emeltchenko
2012-05-08 17:18       ` Joe Perches
2012-05-08 17:48         ` Johannes Berg
2012-05-08 18:26           ` Luis R. Rodriguez

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=1336391383.4325.24.camel@jlt3.sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=netdev@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;
as well as URLs for NNTP newsgroup(s).