adding log for priority setting and using pipeline structure

This commit is contained in:
Wang Tsu-Han
2019-07-03 16:11:57 +02:00
parent a2bf9dc9f4
commit 310359c678
3 changed files with 11 additions and 8 deletions
+7 -6
View File
@@ -1208,16 +1208,17 @@ static void *ru_thread_tx( void *param ) {
int i = 0;
int ret;
if(ru->rfdevice.uhd_set_thread_priority != NULL)
{
ru->rfdevice.uhd_set_thread_priority();
LOG_I(PHY,"set ru_thread_tx uhd priority");
}
wait_on_condition(&proc->mutex_FH1,&proc->cond_FH1,&proc->instance_cnt_FH1,"ru_thread_tx");
printf( "ru_thread_tx ready\n");
if(ru->rfdevice.uhd_set_thread_priority != NULL)
{
LOG_I(PHY,"set ru_thread_tx uhd priority \n");
ru->rfdevice.uhd_set_thread_priority();
}
while (!oai_exit) {
if (oai_exit) break;