Simon Cruanes
|
1111c0fa9a
|
wip: convert tests into testlib
|
2022-07-02 14:47:03 -04:00 |
|
Simon Cruanes
|
58ac755f82
|
chore: move to ounit2
see if that fixes the windows build.
|
2022-06-09 21:39:09 -04:00 |
|
Simon Cruanes
|
b837509de9
|
remove many more shims
|
2022-02-21 21:52:06 -05:00 |
|
Simon Cruanes
|
f41887c367
|
refactor(pool): less locking, fix deadlock, more parallelism
|
2021-03-28 18:15:45 -04:00 |
|
Simon Cruanes
|
40c05cc7e3
|
wip: feat(pool): keep one idle thread
see #360; in combination with max_size=1 it means the pool contains
exactly one thread.
|
2021-03-28 18:15:45 -04:00 |
|
Simon Cruanes
|
8982f87ca7
|
perf: small optim in Pool.sequence_a
|
2021-03-28 18:15:45 -04:00 |
|
Simon Cruanes
|
dd1cf2a046
|
perf(pool): try to inline with_lock
|
2021-03-28 18:15:45 -04:00 |
|
Simon Cruanes
|
089a1bec16
|
try to fix tests that fail on mac OS
|
2020-07-31 15:29:49 -04:00 |
|
Simon Cruanes
|
39e0ad2395
|
fix(pool): missing emptiness check in Fut.map_l
also add regression test
|
2020-07-28 16:27:23 -04:00 |
|
Simon Cruanes
|
54099f10d5
|
test: regression test for stack overflow in CCpool
|
2020-05-24 19:12:04 -04:00 |
|
Simon Cruanes
|
52ef092a4c
|
feat(pool): add infix operators on futures
|
2019-12-14 14:37:30 -06:00 |
|
Simon Cruanes
|
3712db3a5b
|
chore: use iter, not sequence, in tests
|
2019-04-13 03:20:56 -05:00 |
|
Simon Cruanes
|
bc27e60a81
|
reindent
|
2018-01-21 14:39:44 -06:00 |
|
Simon Cruanes
|
282f85a874
|
remove PARAM.min_size in CCPool
|
2018-01-17 20:12:50 -06:00 |
|
Simon Cruanes
|
0e26502008
|
wip: fix behavior of CCPool when min_size>0
problem is a deadlock occurs when some threads die (too early?)
when P.min_size>0
|
2018-01-17 20:11:14 -06:00 |
|
Jacques-Pascal Deplaix
|
6d2063ded4
|
Internally shadow polymorphic operators and functions from Pervasives
|
2018-01-14 23:32:13 +00:00 |
|
Simon Cruanes
|
c792d70ac7
|
assertions and cleanup in CCPool
|
2017-09-13 18:39:14 +02:00 |
|
Simon Cruanes
|
923e83b0fc
|
make tests faster
|
2017-03-16 10:27:00 +01:00 |
|
Simon Cruanes
|
b06ae52071
|
new test for CCPool
|
2017-02-22 13:48:13 +01:00 |
|
Simon Cruanes
|
9a46b4527c
|
reindent in containers.thread
|
2017-01-25 00:24:14 +01:00 |
|
Simon Cruanes
|
4821772dcf
|
Revert "remove containers.thread"
This reverts commit 9f34a7f6e3.
|
2017-01-25 00:08:12 +01:00 |
|
Simon Cruanes
|
9f34a7f6e3
|
remove containers.thread
|
2016-11-03 21:38:17 +01:00 |
|
Simon Cruanes
|
6ccad958c4
|
make some tests a bit faster
|
2016-03-26 11:53:58 +01:00 |
|
Simon Cruanes
|
663a3cd693
|
introduce a min_size in CCPool, to keep threads alive
- in benchs, keep `min_size=0` for resource management (need to spawn
lots of threads)
|
2016-01-26 02:14:35 +01:00 |
|
Simon Cruanes
|
b0c59e036b
|
add appliative instance in CCPool, factor code
|
2016-01-26 01:33:24 +01:00 |
|
Simon Cruanes
|
ec70f865e4
|
rename CCFuture into CCPool, expose the thread pool
|
2016-01-26 01:04:43 +01:00 |
|