Ocsigen

Lwt

Download and install

Stable version

Packages for Debian (and Ubuntu), Gentoo, FreeBSD and NetBSD will soon be available in the distributions. There will also be a Godi package (Godi is a source based distribution of OCaml packages. You should consider using it to simplify the installation if your distribution is missing some OCaml packages).

If you want to compile Lwt from sources, download latest versions from here:
lwt-2.0.0.tar.gz (2009-10-15) (signature)
lwt-1.1.0.tar.gz (2008-06-25) (signature)

To compile, read installation intructions in the file README.

Development version

The sources of the last development version are available as a Darcs repository.

Download them using the command:

darcs get http://ocsigen.org/darcs/lwt/

Browse sources using using darcsweb.

Changelog

2.0.0+dev
  • More react helpers:
    • Lwt_event.next
    • Lwt_event.limit and Lwt_signal.limit
    • LWt_event.from
  • Adding function Lwt_main.fast_yield
  • Adding unit tests
  • Optimisation of Lwt
  • Adding module Lwt_log for logging
  • Adding a camlp4 filter for remmoving logging statement or inlining tests
  • Adding module Lwt_daemon
  • Adding function Lwt_unix.recv_msg and Lwt_unix.send_msg
  • Adding function Lwt_unix.wait4
  • Adding function Lwt_io.establish_server
  • Adding module Lwt_list
  • Enhancement in Lwt_process, it now support redirections and timeouts
  • Allow to use select on arbitrary high file descriptors
  • More commands and features in Lwt_read_line:
    • Handle "undo" command
    • New controlable read-lines instances
    • More edition commands
    • Completion as you type
    • Backward search
  • Enhancement in Lwt_term: more drawing functions and allow to put the terminal into drawing mode
  • Optimisation of Lwt_stream
  • Optimisation of Lwt_io.write_char and Lwt_io.read_char
  • Bugfix of Lwt_stream: two parallel Lwt_stream.get returned the same value
  • Bugfix in Lwt_unix.connect: it returned immediatly on EINPROGRESS
  • Bugfixes in lwt.glib: file descriptors were not monitored correctly
2.0.0
  • Adding modules:
    • Lwt_stream: lwt-aware version of the Stream module
    • Lwt_gc for using finalise without Lwt_unix.run
    • Lwt_io: a new implementation of buffered channels with more features and better handling of concurrent access
    • Lwt_text: implementation of text channels
    • Lwt_process: helpers to spawn processes and communicate with them
    • Lwt_main for abstracting the main loop and allowing replacement by a custom main loop
    • Lwt_glib for integration into the glib main event loop
    • Lwt_term for interaction with the terminal
    • Lwt_read_line for interactive user input
    • Lwt_monitor, Lwt_mvar: combined locks for synchronization with conditional variables for notification
    • Lwt_throttle for limiting rate of execution (e.g. for authentication procedure)
    • Lwt_sequence: mutable sequence of elements
    • Lwt_event, Lwt_signal: helpers for reactive programming with lwt
  • Adding a syntax extension pa_lwt:
    • handles anonymous bind a >> b
    • adds syntactic sugar for catching errors (ticket #6)
    • adds syntactic sugar for parallel let-binding construction
    • adds syntactic sugar for for-like loops
  • Top-level integration:
    • threads can runs while reading user input
    • line editing support
  • New enhanced OCaml toplevel with some basic completion features
  • Adding C stubs to reimplement Unix.read and Unix.write with assumption of non-blocking behaviour
  • Adding more functions/helpers in Lwt
  • Fixing memory leaks in Lwt.choose
  • Bugfix in Lwt_chan.close_* (ticket #66)
  • Separate the type of threads (covariant) from the type of thread wakeners (contravariant); the type of many functions related to Lwt.wait has been changed
  • Add cancelable threads
  • Unix-dependent part is now put in its own archive and findlib package.
1.1.0
  • Adding module Lwt_pool for creating pools (for example pools of connections)
  • Adding a few functions in Lwt_chan
  • Fixing bugs in Lwt_util.map_serial and Lwt_util.iter_serial
  • Putting Lwt_preemptive, Lwt_lib and Lwt_ssl in separate libraries and findlib subpackages so that lwt.cma depends only on unix.cma.
1.0.0 (and before)
  • See Ocsigen changelog

.

Ocsigen

This page has been generated by Ocsimore. If you are a member of the Ocsigen team, you can log in to modify the pages.