mirror of https://github.com/PentHertz/srsLTE.git
added a maximum capacity to the pending task multiqueue, so that the buffer pool does not get depleted
This commit is contained in:
parent
ceba00f00e
commit
11ec5cdba6
|
@ -38,7 +38,8 @@ ue_stack_lte::ue_stack_lte() :
|
||||||
rrc(&rrc_log),
|
rrc(&rrc_log),
|
||||||
pdcp(&pdcp_log),
|
pdcp(&pdcp_log),
|
||||||
nas(&nas_log),
|
nas(&nas_log),
|
||||||
thread("STACK")
|
thread("STACK"),
|
||||||
|
pending_tasks(1024)
|
||||||
{
|
{
|
||||||
ue_queue_id = pending_tasks.add_queue();
|
ue_queue_id = pending_tasks.add_queue();
|
||||||
sync_queue_id = pending_tasks.add_queue();
|
sync_queue_id = pending_tasks.add_queue();
|
||||||
|
|
Loading…
Reference in New Issue