启用wifi时应用程序无法正常工作,移动数据打开时其工作正常

时间:2017-05-26 14:23:43

标签: android wifi manifest

启用wifi后,我的应用程序无效。但是当我使用移动数据时它工作正常。

不知道问题出在哪里。并且在清单

中也给出了许可
...
pthread_mutex_lock(&mutex_1);
while ( pthread_mutex_trylock(&mutex_2) )  /* Test if already locked   */
{
   pthread_mutex_unlock(&mutex_1);  /* Free resource to avoid deadlock */
   ...
   /* stall here   */
   ...
   pthread_mutex_lock(&mutex_1);
}
// count++; or yadda yadda yadda
pthread_mutex_unlock(&mutex_1);
pthread_mutex_unlock(&mutex_2);
...

有人可以帮我解决这个问题吗,我也谷歌了但是没有得到解决方案。

0 个答案:

没有答案