Common Lisp Package: THREAD-POOL

A simple thread pool system

README:

FUNCTION

Public

Undocumented

MAKE-THREAD-POOL (&OPTIONAL (POOL-SIZE 1))

GENERIC-FUNCTION

Public

ADD-TO-POOL (THREAD-POOL FUNCTIONS)

Add a function or a list of function to the thread pool

START-POOL (THREAD-POOL)

Starts serving jobs

STOP-POOL (THREAD-POOL)

Stops serving jobs

Undocumented

CALLABLE-CALL (CALL)

SETFPOOL-SIZE (SIZE THREAD-POOL)

SLOT-ACCESSOR

Public

Undocumented

CALLABLE-HANDLER-FUNC (OBJECT)

SETFCALLABLE-HANDLER-FUNC (NEW-VALUE OBJECT)

POOL-SIZE (OBJECT)

Private

Undocumented

JOBS (OBJECT)

SETFJOBS (NEW-VALUE OBJECT)

MAIN-THREAD (OBJECT)

SETFMAIN-THREAD (NEW-VALUE OBJECT)

POOL-CONDITION (OBJECT)

SETFPOOL-CONDITION (NEW-VALUE OBJECT)

POOL-CONDITION-VARS (OBJECT)

SETFPOOL-CONDITION-VARS (NEW-VALUE OBJECT)

POOL-LOCK (OBJECT)

SETFPOOL-LOCK (NEW-VALUE OBJECT)

RUNNING-P (OBJECT)

SETFRUNNING-P (NEW-VALUE OBJECT)

THREAD-LOCKS (OBJECT)

SETFTHREAD-LOCKS (NEW-VALUE OBJECT)

THREADS (OBJECT)

SETFTHREADS (NEW-VALUE OBJECT)

CLASS

Public

Undocumented

CALLABLE

Private

Undocumented

THREAD-POOL