IOBluetooth in threaded applications.
IOBluetooth in threaded applications.
- Subject: IOBluetooth in threaded applications.
- From: Alf Watt <email@hidden>
- Date: Sun, 25 Jul 2004 14:01:03 -0700
I'm seeing a problem when calling IOBluetooth methods from separate
threads in my application. One thread periodically calls
[IOBluetoothDevice recentDevices] while the user interface has a button
which calls:
[[IOBluetoothDeviceSelectorController deviceSelector] runModal];
And the panel does not operate properly, the run log reports a message
from NSDistantObject:
2004-07-25 13:51:30.901 iStumbler[3415] NSDistantObject access
attempted from another thread
Clearly this is a threading issue; besides reorganizing my application
to only call the IOBluetooth APIs from a single thread is there
anything I can do to get my application working? Perhaps some
documentation on how to write threaded applications with Bluetooth
support?
Best,
Alf
_______________________________________________
bluetooth-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/bluetooth-dev
Do not post admin requests to the list. They will be ignored.