Skip to content

[tmp] openkal 0.16 draft: least stack size, PASS_INPUT, enumeration release (verification only) - #6

Closed
Sunrisepeak wants to merge 5 commits into
mainfrom
tmp/three-reports
Closed

Sunrisepeak wants to merge 5 commits into
mainfrom
tmp/three-reports

Conversation

@Sunrisepeak

Copy link
Copy Markdown
Member

Temporary draft for cross-platform verification. Not for merge.

One branch name, tmp/three-reports, across openkal, openkal-linux, openkal-macos, openkal-windows, openkal-emscripten and openkal-musl, so that each CI builds the others at the same branch. The commits are checkpoints; the final change will be one PR per repository after the design (.agents/docs/2026-10-25-three-reports-optimisation-design.md in openkal) is reviewed, and this draft will be closed.

What it carries: kal_task_start_sized (a least stack size), KAL_TERM_PASS_INPUT (whether input is altered), and what closing a directory does to its enumerations.

…rectory is refused by kal_fs_list_next

The walk held a duplicate of the directory's descriptor that only reaching the
end released, the shape openkal-linux#34 measured. An iterator is now a listing
kept with its directory, the close ends it, a listing another context is
reading is released by that context on its way out (clause 6.6), and the word is
found among the open listings rather than read through.
…quested

The default stays this platform's own: a stack here is linear memory taken from
the heap when the context starts, so raising it would cost every context its
whole size at once.
@Sunrisepeak

Copy link
Copy Markdown
Member Author

Temporary verification draft; carried into #7.

@Sunrisepeak
Sunrisepeak deleted the tmp/three-reports branch October 24, 2026 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant