Skip to content

Lwt 2.4.0

Compare
Choose a tag to compare
@aantron aantron released this 20 May 14:26
· 1877 commits to master since this release
  • Reimplement Lwt_stream:
    • Much simpler and more efficient.
    • Do not use Weak.
    • Add bounded push streams.
  • Add Lwt.async.
  • Add Lwt_preemptive.run_in_main.
  • Implement Lwt_unix.get_credentials on MacOS X/OpenBSD.
  • Ensure that on_cancel functions are executed first.
  • Better implementation of Lwt.cancel with more tests.
  • Simplify the API for Unix jobs.
  • Better handling of the master lock in libev stubs.
  • Windows fixes/updates:
    • Pass -lws2_32 instead of ws2_32.lib if building with MinGW.
    • Fix a bug causing Lwt_unix.read/write to block when a socket is not readable/writable.
    • Port Lwt_process and Lwt_unix.system to Windows.
  • Compatibility with OCaml 4.00:
    • Add O_SHARE_DELETE to Lwt_unix.open_flag.
    • Add -package compiler-libs.toplevel for files using Toploop.
  • Do not use module Sys for signal handling to avoid OCaml code to be called in a C thread.
  • Fix Lwt_unix.wrap_syscall: try instead of Lwt.catch.
  • Fix a dead-lock between Lwt_unix_send_notification and Lwt_unix_recv_notifications.
  • Fix #277: add a function to return the Ssl.socket of a Lwt_ssl.socket.
  • Fix problems with C libraries detection/linking.