继续按提示词推进:补tooldata mmap单创建者覆盖

This commit is contained in:
cnc
2026-06-05 09:51:37 +08:00
parent 440a61be32
commit 6506d23dc2
4 changed files with 32 additions and 0 deletions

View File

@@ -58,6 +58,9 @@ source-link/shim guard only; it must not add CNC behavior and must not expand th
- The mmap backend must keep the LinuxCNC random-toolchanger flag and
`last_index` initialization edges from `tool_mmap_creator()`, and
`tooldata_last_index_get()` must preserve the last-index unavailable return.
- The mmap backend must keep LinuxCNC's single-creator process boundary from
the `static inited` guard in `tool_mmap_creator()`, including after
`tool_mmap_close()` clears browser-safe in-memory state.
- `tool_mmap_user()` must keep LinuxCNC's unavailable mmap failure boundary,
and `tool_mmap_close()` must clear the browser-safe in-memory state without
adding filesystem mmap behavior.