added a maximum capacity to the pending task multiqueue, so that the buffer pool does not get depleted

This commit is contained in:
Francisco Paisana 2019-09-13 18:03:09 +01:00 committed by Andre Puschmann
parent ceba00f00e
commit 11ec5cdba6
1 changed files with 2 additions and 1 deletions

View File

@ -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();