Commit graph

  • ed531e68e1
    fix: race condition in shutdown, we need to wait for domain to quit Simon Cruanes 2023-08-13 22:24:18 -04:00
  • 6c4d2cbc79
    test for proper resource handling in Pool.shutdown Simon Cruanes 2023-08-13 22:23:53 -04:00
  • 7b0e7de94d
    Merge pull request #8 from c-cube/wip-7 Simon Cruanes 2023-08-13 17:47:58 -04:00
  • e38ee31b93
    bugfix: forgot to dispose of the worker state on winding down Simon Cruanes 2023-08-12 22:06:58 -04:00
  • 9db0a9fe28
    full lifecycle for worker domains Simon Cruanes 2023-08-12 14:09:35 -04:00
  • 5680938a6c
    fix: generalize type of create_arg Simon Cruanes 2023-08-01 12:34:13 -04:00
  • aa0dea3e34
    add Fut.{reify_error,bind_reify_error} Simon Cruanes 2023-07-26 16:22:42 -04:00
  • d18e88a772
    details in test Simon Cruanes 2023-07-17 10:54:47 -04:00
  • 8e9628ac81
    prepare for 0.3 v0.3 Simon Cruanes 2023-07-16 23:36:34 -04:00
  • 366d26527c
    another test Simon Cruanes 2023-07-16 23:21:45 -04:00
  • f7d9e6c0c1
    add prop test for Fork_join.map_list Simon Cruanes 2023-07-16 23:17:16 -04:00
  • 6c0063f9ac
    more tests Simon Cruanes 2023-07-13 12:23:52 -04:00
  • 20240a6190
    fix: Fork_join.for_ 0 must not hang Simon Cruanes 2023-07-13 12:23:25 -04:00
  • c25975937b
    wip: remove one array alloc in Forkjoin.all_array wip-reduce-alloc-forkjoin Simon Cruanes 2023-07-10 23:33:32 -04:00
  • e6a2afb2ba
    fix readme Simon Cruanes 2023-07-10 23:31:27 -04:00
  • 548212ab43
    add prop test for fork_join Simon Cruanes 2023-07-10 23:19:39 -04:00
  • d995992917
    remove Fork_join.map_reduce_commutative Simon Cruanes 2023-07-10 23:19:02 -04:00
  • 9ce94fd242
    feat fork_join: add map_array and map_list Simon Cruanes 2023-07-10 23:18:26 -04:00
  • 1cb5342092
    expose Runner Simon Cruanes 2023-07-10 22:48:04 -04:00
  • 6c73afbe5b
    perf: optimize Fut.for_ a bit Simon Cruanes 2023-07-10 11:00:34 -04:00
  • 0f4e115bc0
    doc Simon Cruanes 2023-07-10 01:31:12 -04:00
  • f081c0f8ad
    tweak: guess of chunk_size in Fork_join Simon Cruanes 2023-07-10 01:23:30 -04:00
  • 2326ae0078
    modify Fork_join.for_ to avoid the allocator. Simon Cruanes 2023-07-10 01:19:16 -04:00
  • 55f831bc8b
    add Fork_join.{for_,map_reduce_commutative} Simon Cruanes 2023-07-10 01:14:16 -04:00
  • 858755e812
    feat: add Pool.with_ Simon Cruanes 2023-07-10 01:14:07 -04:00
  • b080c962e1
    test: use less aggressive numbers, my poor ram! Simon Cruanes 2023-07-10 00:01:37 -04:00
  • ab675797fa
    fix test Simon Cruanes 2023-07-09 22:35:39 -04:00
  • e73c1a2966
    tests: compat 4.x Simon Cruanes 2023-07-09 22:07:44 -04:00
  • 427c462778
    compat 4.x Simon Cruanes 2023-07-09 22:04:18 -04:00
  • 68e744290b
    add Chan.pop_await Simon Cruanes 2023-07-09 17:45:25 -04:00
  • 12df71c3ab
    expose Suspend_ and its internal effect with an unstability alert Simon Cruanes 2023-07-09 17:34:19 -04:00
  • e855c99bec
    update doc for Fut Simon Cruanes 2023-07-09 17:34:12 -04:00
  • 39525af7ac
    add documentation; expose Runner.For_runner_implementors.Suspend_ Simon Cruanes 2023-07-09 17:27:23 -04:00
  • 1d57ae8fbb
    remove dead code Simon Cruanes 2023-07-09 17:19:26 -04:00
  • 76ca0f2d88
    feat: add Runner, change Pool to produce a Runner.t Simon Cruanes 2023-07-09 17:17:00 -04:00
  • 30d2560a27
    add π-computing benchmark Simon Cruanes 2023-07-09 16:58:37 -04:00
  • 2852741360
    feat: add a Lock module Simon Cruanes 2023-07-09 16:50:47 -04:00
  • b07d460b3f
    port cpp.ml from containers, replace previous codegen with it Simon Cruanes 2023-07-09 16:13:44 -04:00
  • 0780dcf703
    fix warning Simon Cruanes 2023-06-29 10:29:13 -04:00
  • 2acf4b28eb feat: actually support domain-local-await if installed Simon Cruanes 2023-06-19 21:36:58 -04:00
  • a266a42628 support for domain-local-await when installed Simon Cruanes 2023-06-19 17:27:48 -04:00
  • 79e0aa6f7a
    feat: actually support domain-local-await if installed Simon Cruanes 2023-06-19 21:36:58 -04:00
  • 1f29066d59
    support for domain-local-await when installed Simon Cruanes 2023-06-19 17:27:48 -04:00
  • 27ec0f85e6 test: add more fork-join tests Simon Cruanes 2023-06-24 15:04:15 -04:00
  • f46cc4f12c fix: Fork_join.both_ignore now has a more general type Simon Cruanes 2023-06-24 14:58:29 -04:00
  • b346fa03af rename tests Simon Cruanes 2023-06-24 14:56:20 -04:00
  • 2db2bd9ba2 rename test dir Simon Cruanes 2023-06-24 14:55:39 -04:00
  • bf43d9648e readme: try to make the random array deterministic Simon Cruanes 2023-06-24 00:31:55 -04:00
  • 4294e90929 readme: add a section on fork-join Simon Cruanes 2023-06-24 00:24:11 -04:00
  • 0f383e877a test: add a parallel quicksort Simon Cruanes 2023-06-24 00:24:02 -04:00
  • 03212e7478 fork-join: add both_ignore Simon Cruanes 2023-06-24 00:23:48 -04:00
  • 43487ebe49 add Fork_join.all_{list,init} Simon Cruanes 2023-06-23 23:18:52 -04:00
  • 45838d9607 fix: in fork-join, start sub-tasks within a handler Simon Cruanes 2023-06-23 21:36:17 -04:00
  • 3b9f56a138 add test for fork_join Simon Cruanes 2023-06-23 18:07:21 -04:00
  • 309424a58f move fork join into its own module Simon Cruanes 2023-06-21 12:28:01 -04:00
  • 009855ce0d feat: add Pool.fork_join Simon Cruanes 2023-06-21 12:22:51 -04:00
  • 2bbb4185a4
    readme Simon Cruanes 2023-06-24 15:53:05 -04:00
  • 31d3c92301
    test: add more fork-join tests Simon Cruanes 2023-06-24 15:04:15 -04:00
  • 1641118f80
    fix: Fork_join.both_ignore now has a more general type Simon Cruanes 2023-06-24 14:58:29 -04:00
  • 08a25832ae
    rename tests Simon Cruanes 2023-06-24 14:56:20 -04:00
  • 713ee6c978
    rename test dir Simon Cruanes 2023-06-24 14:55:39 -04:00
  • 64542938d2
    readme: try to make the random array deterministic Simon Cruanes 2023-06-24 00:31:55 -04:00
  • 34bda683d0
    readme: add a section on fork-join Simon Cruanes 2023-06-24 00:24:11 -04:00
  • 177ee06825
    test: add a parallel quicksort Simon Cruanes 2023-06-24 00:24:02 -04:00
  • d6ada57c59
    fork-join: add both_ignore Simon Cruanes 2023-06-24 00:23:48 -04:00
  • f9b85bc0af
    add Fork_join.all_{list,init} Simon Cruanes 2023-06-23 23:18:52 -04:00
  • f3e7646893
    fix: in fork-join, start sub-tasks within a handler Simon Cruanes 2023-06-23 21:36:17 -04:00
  • 541916fbd3
    add test for fork_join Simon Cruanes 2023-06-23 18:07:21 -04:00
  • 2d0f738070
    move fork join into its own module Simon Cruanes 2023-06-21 12:28:01 -04:00
  • cfe24916bf
    feat: add Pool.fork_join Simon Cruanes 2023-06-21 12:22:51 -04:00
  • 456a31c939
    dune Simon Cruanes 2023-06-21 12:22:45 -04:00
  • 9f04d254af
    feat: Pool.run_wait_block can return a value now Simon Cruanes 2023-06-24 15:00:50 -04:00
  • e4b159c695
    fut: fix warnings Simon Cruanes 2023-06-24 15:03:37 -04:00
  • ab718b22f9
    add Pool.run_wait_block; rename Pool.run into Pool.run_async Simon Cruanes 2023-06-24 14:50:43 -04:00
  • ffd37642b9
    Merge pull request #4 from c-cube/wip-await Simon Cruanes 2023-06-20 22:59:08 -04:00
  • 2b6387e388
    mdx for 5.0 only Simon Cruanes 2023-06-19 22:27:39 -04:00
  • 76ec06942a
    doc: add more to the readme Simon Cruanes 2023-06-19 22:10:48 -04:00
  • 3676d1e28d
    test: remove dep Simon Cruanes 2023-06-19 21:38:54 -04:00
  • 1d23d2d7a1
    rename Fut.await_exn to Fut.await Simon Cruanes 2023-06-19 21:23:54 -04:00
  • 68d3487ca8
    CI Simon Cruanes 2023-06-19 17:27:58 -04:00
  • 4fd6154b56
    refactor suspend Simon Cruanes 2023-06-19 17:06:19 -04:00
  • f98bcf2f08
    add test for await Simon Cruanes 2023-06-19 15:50:40 -04:00
  • 62777e1112
    test: add tests for Fut.await Simon Cruanes 2023-06-19 15:34:22 -04:00
  • e26029ab90
    feat: add Fut.await and Fut.await_exn for OCaml >= 5.0 Simon Cruanes 2023-06-19 15:33:28 -04:00
  • 52a04701ed
    feat: add Suspend_ module, using effects, on OCaml >= 5.0 Simon Cruanes 2023-06-19 15:32:23 -04:00
  • eab774813d
    test: add load test for chans Simon Cruanes 2023-06-19 20:58:28 -04:00
  • 25e8dcdbce
    add ocaml-coc Simon Cruanes 2023-06-20 12:33:23 -04:00
  • 1e21157e8a
    feat: add Chan again Simon Cruanes 2023-06-18 21:43:40 -04:00
  • 22ccb76d66
    readme Simon Cruanes 2023-06-16 09:18:29 -04:00
  • 67bc47181c
    fix: in blocking queue, pop works on a non empty closed queue Simon Cruanes 2023-06-15 22:24:58 -04:00
  • 4e112e1591
    add some property tests Simon Cruanes 2023-06-15 21:34:33 -04:00
  • 7707a7c1ce
    prepare for 0.2 v0.2 Simon Cruanes 2023-06-15 13:02:43 -04:00
  • d4a75280de
    prepare for 0.1.1 v0.1.1 rel-0.1.1 Simon Cruanes 2023-06-15 13:02:43 -04:00
  • 446d6635a0
    fix(fut): fix bug when calling wait_list [] Simon Cruanes 2023-06-15 11:58:55 -04:00
  • e43c762c96
    test: regression test for bug in wait_list on empty list Simon Cruanes 2023-06-15 11:58:32 -04:00
  • 793f57e537
    fix: join_array on arrays of length=1 had a bound error Simon Cruanes 2023-06-15 11:42:13 -04:00
  • 5d4a29a056
    test: add regression test for bug in join_array Simon Cruanes 2023-06-15 11:42:03 -04:00
  • b8588f2d65
    feat: add Fut.for_list Simon Cruanes 2023-06-15 11:59:10 -04:00
  • d74c6da3fa
    fix(fut): fix bug when calling wait_list [] Simon Cruanes 2023-06-15 11:58:55 -04:00
  • 39712e7f54
    test: regression test for bug in wait_list on empty list Simon Cruanes 2023-06-15 11:58:32 -04:00