* [Bluez-users] Bluez and threading
@ 2004-12-16 12:58 Jani Pellikka
2004-12-16 19:57 ` Marcel Holtmann
0 siblings, 1 reply; 2+ messages in thread
From: Jani Pellikka @ 2004-12-16 12:58 UTC (permalink / raw)
To: bluez-users
Hi,
Is there support for threading in bluez?
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?
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.
Thanks in advance,
--
Jani
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Bluez-users] Bluez and threading
2004-12-16 12:58 [Bluez-users] Bluez and threading Jani Pellikka
@ 2004-12-16 19:57 ` Marcel Holtmann
0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2004-12-16 19:57 UTC (permalink / raw)
To: bluez-users
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-12-16 19:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-16 12:58 [Bluez-users] Bluez and threading Jani Pellikka
2004-12-16 19:57 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox