public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] Bluez and threading
Date: Thu, 16 Dec 2004 20:57:25 +0100	[thread overview]
Message-ID: <1103227046.6325.8.camel@notepaq> (raw)
In-Reply-To: <20041216125827.GB24108@ee.oulu.fi>

Hi Jani,

> Is there support for threading in bluez?

the simple answer is yes.

> For example, I have different threads for HCI inquering,
> sending stuff via rfcomm socket and for listening incoming
> rfcomm connections. Is it possible to do all this at the
> same time in separate threads?

The kernel will handle this. If not, it is a bug.

> Right now, I have written C++ code using bluez libs for all
> these threads but I get segmentation fault when I try to run
> them at the same time. So, I wonder if it was possible to
> thread these tasks at all.

Check your own code first, because I don't think that it is a problem of
the BlueZ library of kernel.

Regards

Marcel




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

      reply	other threads:[~2004-12-16 19:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-16 12:58 [Bluez-users] Bluez and threading Jani Pellikka
2004-12-16 19:57 ` Marcel Holtmann [this message]

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=1103227046.6325.8.camel@notepaq \
    --to=marcel@holtmann.org \
    --cc=bluez-users@lists.sourceforge.net \
    /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