github ocaml-multicore/eio v0.14
0.14

latest releases: v1.0, v0.15
3 months ago

CHANGES:

New features / API changes:

  • Add Eio.Executor_pool (@SGrondin #639, reviewed by @talex5).
    Provides an easy way to distribute jobs across domains.

  • Add Fiber.first ~combine and Fiber.n_any (@SGrondin @talex5 #587).
    Allows keeping both results in the case where multiple fibers succeed.

  • Add Eio_mock.Backend.run_full with auto-advancing mock clock (@talex5 #644, reviewed by @SGrondin).
    Simplifies testing of code using clocks.

  • Add Buf_write.printf (@SGrondin @talex5 #655).

  • Add Net.listening_addr (@mefyl #555, reviewed by @patricoferris @talex5).
    Useful to get the socket's address if the OS assigns it.

  • Add Promise.try_resolve (@talex5 #646).

  • Remove Cancel_hook_failed exception (@talex5 #640).
    Didn't seem to be used and broke dscheck.

Tracing:

Performance:

Bug fixes:

  • Fix handling of very long IO vectors (@talex5 #653, reported by @Cjen1).

  • eio_posix: use caml_enter_blocking_section in more places (@talex5 #654, reviewed by @SGrondin).

  • eio_posix: work around caml_unix_alloc_sockaddr bug (@talex5 #651).

  • Remove default backtrace from Switch.fail (@talex5 #664).

Documentation:

Build / internals:

  • Allow closing synchronous streams (@talex5 #641, reviewed by @SGrondin).
    This isn't currently exposed in the public interface.

  • Fix non-idempotent tests (@SGrondin #662).

  • eio_windows: add explicit fmt dependency (@talex5 #643).

Don't miss a new eio release

NewReleases is sending notifications on new releases.