Re: polling for bluetooth events
Re: polling for bluetooth events
- Subject: Re: polling for bluetooth events
- From: Joseph Kelly <email@hidden>
- Date: Mon, 17 Mar 2008 10:48:18 -0700
On Mar 11, 2008, at 11:33 AM, Hans-Christoph Steiner wrote: Yeah, that's what I was afraid of. Thanks for the breakdown. Does this need to be a totally separate process to work? Or can it be a thread?
I think you can do most Bluetooth things on (the same) worker thread, EXCEPT calling into IOBluetoothUI.
Hmmm... from my notes and my list postings, there could be other thread safety issues in IOBluetooth, as well. I've got a note that implies some kind of connection failure which does not happen when it's in the main thread. But for whatever reason, I went with the separate process approach.
Joe K. |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden