At 7b0fea6095f603f9e1904f66dfdc7752f4be4792, Configuration::ReloadController<T> handles immutable configuration loaded from sources and schemas. A simulation also needs to publish an already prepared immutable object for simultaneous renderer, network and save readers.
Please consider a reusable publication primitive where a producer supplies a complete immutable value and epoch/revision, readers can retain a previous publication, and a failed preparation preserves the last good publication. Test retained data across later publishes, concurrent readers, a compare-and-publish failure against an obsolete epoch and resource release when the last reader exits. Game tick calculation, session policy and ownership of entity data belong to the caller.
The game can adopt this when held render/save snapshots remain stable through new ticks and failed/successful world replacements using the same tests.
At `7b0fea6095f603f9e1904f66dfdc7752f4be4792`, `Configuration::ReloadController<T>` handles immutable configuration loaded from sources and schemas. A simulation also needs to publish an already prepared immutable object for simultaneous renderer, network and save readers.
Please consider a reusable publication primitive where a producer supplies a complete immutable value and epoch/revision, readers can retain a previous publication, and a failed preparation preserves the last good publication. Test retained data across later publishes, concurrent readers, a compare-and-publish failure against an obsolete epoch and resource release when the last reader exits. Game tick calculation, session policy and ownership of entity data belong to the caller.
The game can adopt this when held render/save snapshots remain stable through new ticks and failed/successful world replacements using the same tests.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
At
7b0fea6095f603f9e1904f66dfdc7752f4be4792,Configuration::ReloadController<T>handles immutable configuration loaded from sources and schemas. A simulation also needs to publish an already prepared immutable object for simultaneous renderer, network and save readers.Please consider a reusable publication primitive where a producer supplies a complete immutable value and epoch/revision, readers can retain a previous publication, and a failed preparation preserves the last good publication. Test retained data across later publishes, concurrent readers, a compare-and-publish failure against an obsolete epoch and resource release when the last reader exits. Game tick calculation, session policy and ownership of entity data belong to the caller.
The game can adopt this when held render/save snapshots remain stable through new ticks and failed/successful world replacements using the same tests.
Implemented on branch
issue/5-immutable-publication(commit37c3cd4).Void::Core::Publication<T>added: retainable immutable snapshots with epoch/revision compare-and-publish and last-reader release.Branch: https://git.faumaray.com/Void/Library/src/branch/issue/5-immutable-publication
Merge request: https://git.faumaray.com/Void/Library/pulls/new/issue/5-immutable-publication