[Symbian-hacks] Re: Yet Another Bluetooth GPS Program
Nick Burch
Mon Jan 16 10:37:48 EST 2006
On Mon, 16 Jan 2006, Christopher Schmidt wrote:
>> Ah, that might be it. I did wonder about lots of the sample apps having
>> locks in. I guess I'll need a dedicated thread for reading the bluetooth
>> data then?
>
> I ended up using e32.ao_sleep(2,run): see the bottom of the run function
> in http://svn.crschmidt.net/symbian/gpsdisplay.py .
I can't think how that is functionally any different from my while loop,
blocking on read. Is there something magic happening just because you're
holding a e32.Ao_lock() object?
Nick
More information about the Symbian-hacks
mailing list