Linux bluetooth development
 help / color / mirror / Atom feed
From: Malte Steiner <steiner@mobileart.org>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] Multithread Service Discovery
Date: Fri, 30 Mar 2007 21:45:49 +0200	[thread overview]
Message-ID: <1175283949.5851.3.camel@localhost> (raw)
In-Reply-To: <BAY124-W15053C673FC32A41B2AF00F0630@phx.gbl>

Am Freitag, den 30.03.2007, 19:33 +0000 schrieb Robert Rawlins:
> Hello Chaps,
>  
> I'm currently running a C program for service discovery on a list of
> devices. The function loops through the list elements and performs an
> SDP enquiry on each device and returns the results to the screen, but
> I'm finding that if i get a slow device in the list it can hold things
> up a little, and in general it would be fantastic to hit all the
> devices with an enquiry simultaneously.

Multithreading is possible, I use the OpenThreads library to do so for
the same reasons. Attention, OpenThreads is OO and C++ so you might look
for another solution like pthreads.

Cheers,

Malte


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2007-03-30 19:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-30 19:33 [Bluez-users] Multithread Service Discovery Robert Rawlins
2007-03-30 19:45 ` Malte Steiner [this message]
2007-03-31 13:44   ` Marcel Holtmann
  -- strict thread matches above, loose matches on Subject: below --
2007-03-31 19:58 Robert Rawlins
2007-03-31 20:44 ` Loreno Oliveira
2007-04-01  7:01 ` Marcel Holtmann
2007-04-01 10:25 Robert Rawlins
2007-04-01 12:58 ` Marcel Holtmann
2007-04-01 14:04 ` Malte Steiner
2007-04-01 14:00 Robert Rawlins

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=1175283949.5851.3.camel@localhost \
    --to=steiner@mobileart.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