From 11ec5cdba6146a3cb06c8dccc86565eca939746e Mon Sep 17 00:00:00 2001 From: Francisco Paisana Date: Fri, 13 Sep 2019 18:03:09 +0100 Subject: [PATCH] added a maximum capacity to the pending task multiqueue, so that the buffer pool does not get depleted --- srsue/src/stack/ue_stack_lte.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srsue/src/stack/ue_stack_lte.cc b/srsue/src/stack/ue_stack_lte.cc index ec1ed05f3..15e2d3082 100644 --- a/srsue/src/stack/ue_stack_lte.cc +++ b/srsue/src/stack/ue_stack_lte.cc @@ -38,7 +38,8 @@ ue_stack_lte::ue_stack_lte() : rrc(&rrc_log), pdcp(&pdcp_log), nas(&nas_log), - thread("STACK") + thread("STACK"), + pending_tasks(1024) { ue_queue_id = pending_tasks.add_queue(); sync_queue_id = pending_tasks.add_queue();