I think this needs more work, maybe the thread pool should be more similar to the resource pool, but I think the name change is still helpful. Maybe there's a need for a variable size thread pool and that can better integrate with the work queue.
33 lines
688 B
Makefile
33 lines
688 B
Makefile
include guile.am
|
|
|
|
SOURCES = \
|
|
knots.scm \
|
|
knots/non-blocking.scm \
|
|
knots/parallelism.scm \
|
|
knots/promise.scm \
|
|
knots/queue.scm \
|
|
knots/resource-pool.scm \
|
|
knots/timeout.scm \
|
|
knots/web-server.scm \
|
|
knots/thread-pool.scm
|
|
|
|
SCM_TESTS = \
|
|
tests/non-blocking.scm \
|
|
tests/promise.scm \
|
|
tests/timeout.scm \
|
|
tests/non-blocking.scm \
|
|
tests/queue.scm \
|
|
tests/web-server.scm \
|
|
tests/parallelism.scm \
|
|
tests/resource-pool.scm \
|
|
tests/thread-pool.scm
|
|
|
|
TESTS_GOBJECTS = $(SCM_TESTS:%.scm=%.go)
|
|
|
|
EXTRA_DIST = \
|
|
README \
|
|
bootstrap \
|
|
pre-inst-env.in
|
|
|
|
check: $(GOBJECTS) $(TESTS_GOBJECTS)
|
|
find tests -name "*.scm" | xargs -t -L1 ./test-env guile
|