Bluetooth design question
Bluetooth design question
- Subject: Bluetooth design question
- From: Moritz Gmelin <email@hidden>
- Date: Thu, 5 May 2005 14:02:12 +0200
Hi List members,
(I was able to fix my last problem by removing the delegate before
closing the channel)
Another question:
My Bluetooth-Library supports multiple threads. All bluetooth stuff
is handled in one thread just as Apple requires me to do.
The Bluetooth-Thread consists of a while() loop that looks for
commands that the other threads post on that thread (opening
connections, closing connections, doing inquiries......). When all
commands are handled I call [[NSRunLoop currentRunLoop]
runUntilDate:dat2]; where dat2 is 0.1 seconds after now. Then it
looks for new commands and so on.
Is there a way to interrupt this [NSRunLoop runUntilDate:xxx] call so
my other threads don't have to wait ?
Interrupt the RunLoop somehow from another thread ?
Thanks for any help
Moritz
_______________________________________________
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