Re: [Bluez-users] Bluez and threading

Marcel Holtmann
2004-12-16T19:57:25Z

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