Commit 03252dba authored by knopp's avatar knopp

removed eNB stack size limitation in lte-softmodem.c

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7720 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 9d037fdd
...@@ -1355,7 +1355,7 @@ void init_eNB_proc(void) ...@@ -1355,7 +1355,7 @@ void init_eNB_proc(void)
for (i=0; i<NUM_ENB_THREADS; i++) { for (i=0; i<NUM_ENB_THREADS; i++) {
// set the stack size // set the stack size
pthread_attr_init( &attr_eNB_proc_tx[CC_id][i] ); pthread_attr_init( &attr_eNB_proc_tx[CC_id][i] );
/*
if (pthread_attr_setstacksize( &attr_eNB_proc_tx[CC_id][i], PTHREAD_STACK_MIN ) != 0) if (pthread_attr_setstacksize( &attr_eNB_proc_tx[CC_id][i], PTHREAD_STACK_MIN ) != 0)
perror("[ENB_PROC_TX] setting thread stack size failed\n"); perror("[ENB_PROC_TX] setting thread stack size failed\n");
...@@ -1363,7 +1363,7 @@ void init_eNB_proc(void) ...@@ -1363,7 +1363,7 @@ void init_eNB_proc(void)
if (pthread_attr_setstacksize( &attr_eNB_proc_rx[CC_id][i], PTHREAD_STACK_MIN ) != 0) if (pthread_attr_setstacksize( &attr_eNB_proc_rx[CC_id][i], PTHREAD_STACK_MIN ) != 0)
perror("[ENB_PROC_RX] setting thread stack size failed\n"); perror("[ENB_PROC_RX] setting thread stack size failed\n");
*/
#ifndef LOWLATENCY #ifndef LOWLATENCY
// set the kernel scheduling policy and priority // set the kernel scheduling policy and priority
sched_param_eNB_proc_tx[CC_id][i].sched_priority = sched_get_priority_max(SCHED_FIFO)-1; //OPENAIR_THREAD_PRIORITY; sched_param_eNB_proc_tx[CC_id][i].sched_priority = sched_get_priority_max(SCHED_FIFO)-1; //OPENAIR_THREAD_PRIORITY;
......
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