adding uhd priority setting in ru_thread_tx

This commit is contained in:
Wang Tsu-Han
2019-05-27 18:05:03 +02:00
parent eaa83242a8
commit 173f10e51d
6 changed files with 40 additions and 21 deletions
+6
View File
@@ -1208,6 +1208,12 @@ static void *ru_thread_tx( void *param ) {
int i = 0;
int ret;
if(ru->if_south == LOCAL_RF)
{
uhd_set_thread_prio();
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");