Skip to content

impl/lola: Rework AddEventDataStorageShmSizeAllocation - #1256

Open
crimson11 wants to merge 1 commit into
mainfrom
mf_AddEventDataStorageShmSizeAlloc
Open

crimson11 wants to merge 1 commit into
mainfrom
mf_AddEventDataStorageShmSizeAlloc

Conversation

@crimson11

Copy link
Copy Markdown
Contributor

Up till now AddEventDataStorageShmSizeAllocation was handed over an already calculated size for an internal EventDataStorage slot array. This mean, that the caller already anticipated, how EventDataStorage would internally store/layout its slots.

This has been now fixed, by the caller just handing down the number of slots and the size of a slot element and the size calculation is left to AddEventDataStorageShmSizeAllocation, which is semantical the correct way.

Up till now AddEventDataStorageShmSizeAllocation was handed
over an already calculated size for an internal EventDataStorage
slot array. This mean, that the caller already anticipated, how
EventDataStorage would internally store/layout its slots.

This has been now fixed, by the caller just handing down the
number of slots and the size of a slot element and the size
calculation is left to AddEventDataStorageShmSizeAllocation, which
is semantical the correct way.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant