Merge remote-tracking branch 'origin/bugfix-tx-usrp-thread-priority' into integration_2023_w10

This commit is contained in:
Robert Schmidt
2023-03-08 19:04:36 +01:00
+6 -1
View File
@@ -658,7 +658,12 @@ int trx_usrp_write_init(openair0_device *device){
printf("end of tx write thread\n");
pthread_mutex_init(&write_thread->mutex_write, NULL);
pthread_cond_init(&write_thread->cond_write, NULL);
pthread_create(&write_thread->pthread_write,NULL,trx_usrp_write_thread,(void *)device);
threadCreate(&write_thread->pthread_write,
trx_usrp_write_thread,
(void *)device,
(char*)"trx_usrp_write_thread",
-1,
OAI_PRIORITY_RT_MAX);
return(0);
}