Parallel For
dxtr edited this page 2026-10-18 15:28:11 +02:00

Page revisions

4 Commits

Author SHA1 Message Date
70b9811f8d Name the examples' constructors without a % prefix
The workspace's rule for names no longer marks internal functions with
a %, so the examples no longer teach it.  The audio example's raw
constructor takes the free plain name, make-audio.  Beside make-updater
and make-physics, which finish their objects by setting the function
that works on a chunk, the raw constructors say what they return:
make-updater-without-function and make-physics-without-chunk.
2026-10-18 15:28:11 +02:00
8944ce113d Keep the recipes' state in objects, not global variables
The program's pool, a frame's data for parallel-for, a reused job group
and a thread's stop signal now live in objects the program makes and
passes, as the workspace's rules on global state ask.  Each recipe still
allocates nothing per frame, on SBCL and CCL.
2026-10-14 04:48:23 +02:00
d76da575f8 Describe helping only the awaited group, groups taking turns, and the semaphore rule 2026-10-11 15:58:49 +02:00
b96df73157 Document cl-threads: pools, parallel-for, groups, errors, worker storage, threads, recipes, thread rules, API 2026-10-11 15:34:44 +02:00