Commit d2ed9f1d authored by Lionel Gauthier's avatar Lionel Gauthier

task name must be less than 6 bytes (rtai nam2num function)

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5593 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 399073ff
......@@ -810,7 +810,7 @@ static void * eNB_thread_tx(void *param) {
// RTIME time_in,time_out;
#ifdef RTAI
RT_TASK *task;
char task_name[32];
char task_name[8];
#endif
......@@ -821,7 +821,7 @@ static void * eNB_thread_tx(void *param) {
#endif
#ifdef RTAI
sprintf(task_name,"eNB_proc_TX %d",proc->subframe);
sprintf(task_name,"eNTX%d",proc->subframe);
task = rt_task_init_schmod(nam2num(task_name), 0, 0, 0, SCHED_FIFO, 0xF);
if (task==NULL) {
......@@ -932,7 +932,7 @@ static void * eNB_thread_rx(void *param) {
// RTIME time_in,time_out;
#ifdef RTAI
RT_TASK *task;
char task_name[32];
char task_name[8];
#endif
#if defined(ENABLE_ITTI)
......@@ -941,7 +941,7 @@ static void * eNB_thread_rx(void *param) {
#endif
#ifdef RTAI
sprintf(task_name,"eNB_proc_RX %d",proc->subframe);
sprintf(task_name,"eNRX%d",proc->subframe);
task = rt_task_init_schmod(nam2num(task_name), 0, 0, 0, SCHED_FIFO, 0xF);
if (task==NULL) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment