Common Lisp Package: LPARALLEL.KERNEL-UTIL

(semi-private) Abstracts some common patterns for submitting and receiving tasks. This probably won't change, but no guarantees.

README:

FUNCTION

Private

CHANNEL-KERNEL (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

Undocumented

INDEXING-WRAPPER (ARRAY INDEX FUNCTION ARGS)

RECEIVE-RESULTS (CHANNEL COUNT FN)

STEAL-UNTIL-RECEIVE-RESULT (CHANNEL WORKER FN)

STEAL-WORK

MACRO

Public

Undocumented

WITH-SUBMIT-CANCELABLE (&BODY BODY)

WITH-SUBMIT-COUNTED (&BODY BODY)

WITH-SUBMIT-INDEXED (COUNT ARRAY &BODY BODY)

VARIABLE

Private

*WORKER*

The worker instance if inside a worker thread, otherwise nil.