Hi All,

If I am enabling / disabling GPS from Settings Menu, I can see that
it
is calling respective APIs from GpsLocationProvider.java. But when I
am trying with disable GPS from Settings Menu, it is getting block
and
after time out process is getting killed. I am digging out the code
from .java to .cpp interaction and I come to know that it calls
wait_for_event which is basically getting event from reportStatus and
reportLocation.

It looks to me that thread is getting block forever and not able to
meet the pthread_cond_wait criteria. Can anyone gives me pointers/
suggestion how to digg
out this kind of Race Condition / Deadlock in Android ?


Regards,
_-_Mayank Rana_-_

--~--~---------~--~----~------------~-------~--~----~
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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to