Commit 72e57baa authored by Raymond Knopp's avatar Raymond Knopp

worker acivation

parent b675c0c7
...@@ -61,6 +61,7 @@ ...@@ -61,6 +61,7 @@
#include <executables/split_headers.h> #include <executables/split_headers.h>
#include <targets/RT/USER/lte-softmodem.h> #include <targets/RT/USER/lte-softmodem.h>
#include <executables/thread-common.h>
static int DEFBANDS[] = {7}; static int DEFBANDS[] = {7};
static int DEFENBS[] = {0}; static int DEFENBS[] = {0};
...@@ -129,6 +130,7 @@ void wait_eNBs(void){ return; } ...@@ -129,6 +130,7 @@ void wait_eNBs(void){ return; }
uint64_t downlink_frequency[MAX_NUM_CCs][4]; uint64_t downlink_frequency[MAX_NUM_CCs][4];
int main ( int argc, char **argv ) int main ( int argc, char **argv )
{ {
...@@ -310,6 +312,8 @@ int main ( int argc, char **argv ) ...@@ -310,6 +312,8 @@ int main ( int argc, char **argv )
ru->att_rx = *(RUParamList.paramarray[j][RU_ATT_RX_IDX].uptr); ru->att_rx = *(RUParamList.paramarray[j][RU_ATT_RX_IDX].uptr);
set_worker_conf("WORKER_ENABLE");
mlockall(MCL_CURRENT | MCL_FUTURE); mlockall(MCL_CURRENT | MCL_FUTURE);
pthread_cond_init(&sync_cond,NULL); pthread_cond_init(&sync_cond,NULL);
pthread_mutex_init(&sync_mutex, NULL); pthread_mutex_init(&sync_mutex, 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