You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 21c3fbb
Browse filesBrowse the repository at this point in the historyBrowse files
docs(architecture): require shared ownership for combined interfaces
Require backend and formatter pointers to share a control block when both refer to one complete object. Define the C++11 owner_before check and add the corresponding regression requirement while preserving support for distinct objects with one shared owner.
Independent control blocks for that same object are rejected before publication.
116
+
Distinct complete objects sharing one control block remain valid. No global
112
117
object-lock registry or new hot-path synchronization is introduced in v1.
113
118
114
119
The prepared set remains caller-owned after successful registration. Clearing
@@ -240,6 +245,7 @@ No implementation of the registration or shutdown changes is part of this PR.
240
245
| Shared formatter pointer under two different IDs | Reject the whole batch; no log/format invocation or object state change during validation. |
241
246
| Runtime object reused in a later batch | Reject even with a fresh ID; include aliasing against legacy entries and different interface subobject addresses. |
242
247
| Distinct objects sharing one control block | Do not falsely reject solely because shared ownership has the same control block. |
248
+
| Combined backend/formatter object in one strategy | Accept only with one shared ownership control block; reject independent control blocks for the same complete object without publication. |
243
249
| Manually constructed prepared set | Reject unsupported schema, empty/duplicate IDs, null objects, invalid level/options, and unknown option IDs without publication. |
244
250
| Snapshot allocation failure in batch registration | Mutable registry, ID map, dispatch snapshot, prepared input, and old result remain unchanged. |
245
251
| Returned ID/index result allocation failure | No publication or partial mapping; old caller result remains unchanged. |
0 commit comments