worker acivation
This commit is contained in:
@@ -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; }
|
|||||||
|
|
||||||
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 )
|
|||||||
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);
|
||||||
|
|||||||
Reference in New Issue
Block a user