aboutsummaryrefslogtreecommitdiffstats
path: root/src/sba.h
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-07-14 11:35:21 +0200
committerJacob Erlbeck <jerlbeck@sysmocom.de>2015-07-16 19:24:13 +0200
commit5a2b8be3f5c9659cedb56855d2741accfdaeab3d (patch)
treeb52de4a174e185c8a372e8ff558e1c3a32f5da6f /src/sba.h
parent2b558857dd720ea0a743d2656873a8c472ecd6b9 (diff)
alloc: Refactor alloc algorithms to only apply changes on success
Currently these algorithms modify other objects (MS, TBF, PDCH) even if the allocation will fail later on. To implement an algorithm that dynamically tries another algorithm on failure (e.g. A after B), the first (failing) algorithm should not change or damage anything. This commit refactors algorithm A and B to delay the actual allocation until it is known that the allocation will not fail. Ticket: #1934 Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/sba.h')
0 files changed, 0 insertions, 0 deletions