Changeset 0204438 in Lumiera
- Timestamp:
-
2026-05-18T17:05:32Z
(4 weeks ago)
- Author:
- Ichthyostega <prg@…>
- Branches:
- dev/play, documentation, integration
- Children:
- a4b8313
- Parents:
- c4db787
- git-author:
- Ichthyostega <prg@…> (18/05/26 11:12:07)
- git-committer:
- Ichthyostega <prg@…> (18/05/26 17:05:32)
- Message:
-
BufferProvider: consider how to setup and wire the LocalMemPool
Basically the setup should be symmetrical to the BufferStage setup,
which implies to install the LocalMemPool as a thread-local »slice«.
However, in addition we need a mechanism to trigger an automatic clean-up
of the local pool whenever a worker-thread terminates, with the additional
complication that thread-local variables are effectively static.
Since LocalMemPool is written such as to abstract from the setup environment,
we need to inject a shutdown function from the setup within LocalSlice,
thereby directly accessing the EngineBufferManager via dependency-injection.
-
(No files)
-