Skip to content

release: process parallelism primitives (#331)#333

Merged
octalide merged 2 commits into
mainfrom
dev
Jul 2, 2026
Merged

release: process parallelism primitives (#331)#333
octalide merged 2 commits into
mainfrom
dev

Conversation

@octalide

@octalide octalide commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

Sweep dev → main: public exec.spawn_redirected + exec.wait_any and os.cpu_count (#331, PR #332) — the mach-std side of briar-systems/mach#1788's parallel test runner (briar-systems/mach#1791). mach consumes this via a mach.lock bump.

🤖 Generated with Claude Code

https://claude.ai/code/session_011wvvqFRodZG3ZgLqerptnr

octalide and others added 2 commits July 1, 2026 20:22
…ount (#331)

expose the existing os-layer redirected spawn as a Child-returning exec
wrapper (stdout/stderr fds, stdin inherited), add a POSIX wait(-1)-shaped
exec.wait_any returning the reaped child's handle, and add os.cpu_count:
linux popcounts the sched_getaffinity mask (honouring taskset/cgroup
cpusets), darwin reads hw.ncpu via __sysctl, windows uses
GetActiveProcessorCount(ALL_PROCESSOR_GROUPS). all three never report
less than 1. groundwork for the parallel mach test runner
(briar-systems/mach#1791).

Claude-Session: https://claude.ai/code/session_011wvvqFRodZG3ZgLqerptnr
feat(process): public exec.spawn_redirected + exec.wait_any; os.cpu_count
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