pool. The thread pool is guaranteed to contain no more unblocked threads than a user-specified upper limit, thus minimizing contention. Furthermore, the parallel combinators can be used reentrantly - your parallel actions can spawn more parallel actions - without violating this property of the thread pool. The package is inspired by the thread http://thread.gmane.org/gmane.comp.lang.haskell.cafe/56499/focus=56521. Thanks to Neil Mitchell and Bulat Ziganshin for some of the code this package is based on.
13 lines
371 B
Makefile
13 lines
371 B
Makefile
# $NetBSD: buildlink3.mk,v 1.1 2013/08/16 03:19:26 szptvlfn Exp $
|
|
|
|
BUILDLINK_TREE+= hs-parallel-io
|
|
|
|
.if !defined(HS_PARALLEL_IO_BUILDLINK3_MK)
|
|
HS_PARALLEL_IO_BUILDLINK3_MK:=
|
|
|
|
BUILDLINK_API_DEPENDS.hs-parallel-io+= hs-parallel-io>=0.3.3
|
|
BUILDLINK_PKGSRCDIR.hs-parallel-io?= ../../wip/hs-parallel-io
|
|
|
|
.endif # HS_PARALLEL_IO_BUILDLINK3_MK
|
|
|
|
BUILDLINK_TREE+= -hs-parallel-io
|