You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//Wait for mutex signal here to continue the worker thread again.
1091
-
while (!_instance->m_pollThreadExit && ETIMEDOUT == pthread_cond_timedwait(&(_instance->m_condSig), &(_instance->m_lock), &hundred_ms));
1090
+
while (!_instance->m_pollThreadExit && ETIMEDOUT == pthread_cond_wait(&(_instance->m_condSig), &(_instance->m_lock)));
1092
1091
1093
1092
}
1094
1093
pthread_mutex_unlock(&(_instance->m_lock));
@@ -1106,7 +1105,7 @@ namespace WPEFramework
1106
1105
pthread_mutex_lock(&(_instance->m_lockUpdate));//pthread_cond_wait should be mutex protected. //pthread_cond_wait will unlock the mutex and perfoms wait for the condition.
1107
1106
while (!_instance->m_updateThreadExit) {
1108
1107
//Wait for mutex signal here to continue the worker thread again.
1109
-
while (!_instance->m_updateThreadExit && ETIMEDOUT == pthread_cond_timedwait(&(_instance->m_condSigUpdate), &(_instance->m_lockUpdate), &hundred_ms));
1108
+
while (!_instance->m_updateThreadExit && ETIMEDOUT == pthread_cond_wait(&(_instance->m_condSigUpdate), &(_instance->m_lockUpdate)));
0 commit comments