fix bug in WORKER_DISABLE

This commit is contained in:
Laurent THOMAS
2021-11-25 14:06:08 +01:00
parent 4ccc1c722d
commit 4876c7a33d
2 changed files with 6 additions and 3 deletions
@@ -19,6 +19,7 @@
* contact@openairinterface.org
*/
#define _GNU_SOURCE
#include "nr_pdcp_timer_thread.h"
#include <stdlib.h>
@@ -33,6 +34,7 @@ static volatile uint64_t timer_thread_curtime = 0;
static void *nr_pdcp_timer_thread(void *_nr_pdcp_ue_manager)
{
pthread_setname_np(pthread_self(),"pdcp_timer");
nr_pdcp_ue_manager_t *nr_pdcp_ue_manager = (nr_pdcp_ue_manager_t *)_nr_pdcp_ue_manager;
nr_pdcp_ue_t **ue_list;
int ue_count;