API Reference
dxtr edited this page 2026-10-17 10:29:51 +02:00

Page revisions

7 Commits

Author SHA1 Message Date
27cce26152 Follow cl-threads 394cd4a: processors counted on Windows
cl-threads counts the processors on Windows too, with
GetActiveProcessorCount over every processor group, so a pool's default
worker count follows them there as on Linux; elsewhere it is one worker.
2026-10-17 10:29:51 +02:00
94b7205afd Follow cl-threads 95038a9: joining with SBCL's join-thread
A join waits until the thread has ended, which several threads may wait
for at once, and a thread counts as finished once it has ended.  A
thread not made by make-thread cannot be joined because cl-threads has
none of its function's values, not because it cannot tell when it ends.
The old "Errors in threads" section, which "Errors in a thread"
replaced, goes.
2026-10-17 10:29:35 +02:00
d0170c6d60 Follow cl-threads 9c32cc1: :on-error and thread-error 2026-10-16 21:32:49 +02:00
1ecb1492c9 Follow cl-threads 50f196a: INTERRUPT-THREAD, thread bindings, pool streams
Threads and Synchronisation describes MAKE-THREAD's :BINDINGS and
INTERRUPT-THREAD, and a semaphore signalled with a count of 0.  Job
Pools says that a sleeping worker keeps nothing its jobs used alive, and
that :BINDINGS can give the workers streams of their own.  Thread Rules
and the API Reference follow.
2026-10-14 03:31:50 +02:00
4e7fe4ebcf Describe the new thread, lock and semaphore interface, returned groups, restart functions, and pool destruction finishing its jobs 2026-10-11 16:12:46 +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