Lwt 2.6.0
Additions
Lwt_stream.closed
andLwt_stream.is_closed
(#223, Spiros Eliopoulos).Lwt_switch.with_switch
(#256, Thomas Leonard).- Define
'a Lwt.result
as('a, exn) result
(#247, Simon Cruanes). Lwt_condition.broadcast_exn
(#241, Nicolas Ojeda Bar).Lwt_unix.utimes
(#193).
Bugs fixed
- Memory leak in
Lwt_unix.readdir_n
(#229, diagnosed Thomas Leonard). - Memory leak in
Lwt.protected
(#56, #181, reported @ygrek, Mauricio Fernandez). Lwt_switch.turn_off
hook exception handling (995b704).- Handling of
ENOTCONN
when channels passed to handler ofLwt_io.establish_server
are closed (95fb431). - Duplicate exceptions on implicit close in
Lwt_io.with_connection
(b1afe45). - Deadlock in
Lwt_main.at_exit
(#48, #114, reported Jérôme Vouillon, Vincent Bernardoff). - Performance of
Lwt_preemptive.detach
(#218, #219, Mauricio Fernandez). - Bad hash functions for
libev
loops (#146, reported Mark Christiaens). - Hash of uninitialized data in
Lwt_io
(#217, reported Jeremy Yallop). - Update log sections after
Lwt_log.load_rules
(#188, reported @rand00). - Print three digits for milliseconds in
Lwt_log
(#264, Fabian Hemmer). - Do not truncate Unix job notification ids in C (#277, diagnosed @stijn-devriendt).
Deprecations
Lwt_stream.on_termination
: bind onLwt_stream.closed
instead.Lwt.make_value
,Lwt.make_error
: useresult
'sOk
andError
constructors.Lwt_pqueue
,Lwt_sequence
: use min-heaps and linked lists from another library (#135).Pa_lwt
,Pa_lwt_log
: usePpx_lwt
.
Miscellaneous
- Update examples to use PPX syntax instead of Camlp4 (#108, Peter Zotov).
- Set up Travis, AppVeyor for testing on Linux, OS X, Cygwin, and MinGW. MSVC also planned.
- Large amount of local documentation fixes (including by Hezekiah Carty, Etienne Millon, Leo Wzukw, Sebastien Mondet).
- A bunch of new tests.