启用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);
...
有人可以帮我解决这个问题吗,我也谷歌了但是没有得到解决方案。