Try using the java keyword volatile in you variable declaration.
Al.
On Jul 3, 9:49 am, burtoogle burtoo...@gmail.com wrote:
Hi,
I am starting to develop an Android App and have noticed the following
behaviour in my test code (not yet designed the real app):
A thread that loops around
On Jul 7, 12:20 pm, Al Sutton a...@funkyandroid.com wrote:
Try using the java keyword volatile in you variable declaration.
Volatile doesn't matter for interpreted Dalvik on a uniprocessor.
The interpreter always executes all field access instructions and
doesn't do any reordering, so volatile
Thanks for responding, that's all interesting stuff.
Mark
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
3 matches
Mail list logo