• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Bluetooth on Snow Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bluetooth on Snow Leopard


  • Subject: Re: Bluetooth on Snow Leopard
  • From: David Herrmann <email@hidden>
  • Date: Wed, 9 Sep 2009 20:47:13 +0200

I happened to use the IOBluetooth C API in a project some time ago and
I only discovered that all bluetooth functions have to be called from
the same thread, but not explicitely the main thread. I currently have
no access to Snow Leopard but did that also change in the new release?

When I developed the code I noticed that some notifications are sent
to the current thread but especially the "ConnectionClose"
notifications where always sent to the thread that I used to open the
first connection. Since this was never the main thread, I put all the
bluetooth stuff in a separate worker thread and everything worker
fine. Has anyone tested this in the new Mac OS release? Do I have to
change the code?


David Herrmann
 _______________________________________________
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

References: 
 >Bluetooth on Snow Leopard (From: "Brian M. Criscuolo" <email@hidden>)
 >Re: Bluetooth on Snow Leopard (From: Camille Troillard <email@hidden>)

  • Prev by Date: Re: Bluetooth on Snow Leopard
  • Next by Date: Migrate BT projects to iPhone
  • Previous by thread: Re: Bluetooth on Snow Leopard
  • Next by thread: Migrate BT projects to iPhone
  • Index(es):
    • Date
    • Thread