worker acivation

This commit is contained in:
Raymond Knopp
2020-06-18 23:53:48 +02:00
parent b675c0c7b1
commit 72e57baa09

View File

@@ -61,6 +61,7 @@
#include <executables/split_headers.h>
#include <targets/RT/USER/lte-softmodem.h>
#include <executables/thread-common.h>
static int DEFBANDS[] = {7};
static int DEFENBS[] = {0};
@@ -129,6 +130,7 @@ void wait_eNBs(void){ return; }
uint64_t downlink_frequency[MAX_NUM_CCs][4];
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);
set_worker_conf("WORKER_ENABLE");
mlockall(MCL_CURRENT | MCL_FUTURE);
pthread_cond_init(&sync_cond,NULL);
pthread_mutex_init(&sync_mutex, NULL);