This commit is contained in:
khadraou
2017-12-13 16:39:49 +01:00
parent 362e7c1403
commit a83218a0dd
+8
View File
@@ -1591,6 +1591,14 @@ static void* ru_thread_control( void* param ) {
exit_fun( "ERROR pthread_cond_signal" );
break;
}
LOG_I(PHY, "Signaling main thread that RU %d is ready\n",ru->idx);
pthread_mutex_lock(&RC.ru_mutex);
RC.ru_mask &= ~(1<<ru->idx);
pthread_cond_signal(&RC.ru_cond);
pthread_mutex_unlock(&RC.ru_mutex);
wait_sync("ru_thread");
}
else{
LOG_I(PHY,"RRU not ready, cannot start\n");