package duppy

  1. Overview
  2. Docs
Library providing monadic threads

Install

Dune Dependency

Authors

Maintainers

Sources

v0.9.0.tar.gz
md5=c86cab5bf72fb0f4522606b40e1b8b39
sha512=f847e1ad9ff36f6107d4518296ba794085e8897539c4fb7ba98d3709708bd069b0467465a939bf6738966192219d9bc64eee9db40c55be8195df24390570eb3f

CHANGES.html

CHANGES

0.9.0 (07-10-2020)
=====
* Add offset/length to writing functions.
* Convert to dune.
* Drop unused SSL and SecureTransport optional libs.

0.8.0 (12-11-2018)
=====
* Removed camlp4 syntactic sugar (unmaintained, unused in liquidsoap now).

0.7.4 (10-11-2018)
=====
* Fix stack overflow by making recursive function fully tail-rec. (ref savonet/liquidsoap#640)

0.7.3 (12-09-2018)
=====
* Fix write/select logic on windows systems. (savonet/liquidsoap#610)
* Avoid race conditions when shutting down.

0.7.2 (28-08-2018)
=====
* Add placeholder implementation for `caml_poll` on Win32.

0.7.1 (18-08-2018)
=====
* Use poll() when available.
* Wake up all queues when shutting down.

0.7.0 (03-11-2017)
=====
* Fix bytes compatibility with OCaml 4.06 and above.
* Fix camlp4 availability test.

0.6.1 (23-08-2017)
=====
* Added SecureTransport support.

0.6.0 (11-04-2017)
=====
* Added SSL support.

0.5.2 (03-08-2015)
=====
* Dummy github release.

0.5.1 (05-08-2013)
=====
* Removed win32 select work-around: patch applied upstream.

0.5.0 (04-03-2013)
=====
* Remove Panic exception and let original exception bubble through.

0.4.2 (08-10-2011)
=====
* Reimplemented monadic Mutex and Condition.
* Consume more than one char when waking up Async tasks.

0.4.1 (04-08-2011)
=====
* Added optional timeout for
  all [Duppy.Io] and [Duppy.Monad.Io]
  operations.
* Fixed handling of EINTR: update the
  timeout when restarting after being
  interrupted.

0.4.0 (26-06-2011)
=====
* Added a monad API to write
  server code.
* Close both sides of the pipe
  in Duppy.Async
* Make calls to [stop] and [wake_up]
  thread-safe in Duppy.Async
* Catch Unix.EINTR when calling Unix.select.

0.3.2 (19-08-2010)
=====
* Switch from Thread.select to
  Unix.select. They are the same on
  POSIX and only Unix.select is available
  on Win32..
* Do not use assertions on Mutex.try_lock
  on Win32: on this plateform, a thread can
  double-lock a mutex, making the assertion
  inconsistent.

0.3.1 (14-10-2009)
=====
* Really catch raised exception on Duppy.Io
  operations: catching was missing on recurrent
  calls.

0.3.0 (18-06-2009)
=====
* Added support for --enable-debugging configure option
* Fixed Makefile for BSD: call $(MAKE) for generating documentation.
* Added the possibility to restart the task after the returned positive
  delay in Async.
* Added unknown exceptions on Duppy.Io when calling on_error.

0.2.0 (17-02-2009)
=====
* Fixed typo in Duppy.Async: exception is now Stopped.

0.1.2 (01-07-2008)
=====
* Changed logic in shutdown for Async interface:
  now [Duppy.Async.shutdown t] also wakes the task if
  asleep. Still it can't stop a running task.
* Fixed race conditions when a queue starts the select loop:
  a task could be submitted, but no queue would wake up.

0.1.1 (15-04-2008)
=====
* Fixed Conditions usage for non-unix systems
* Fixed typos in the documentation, added some details
* Installs .cmx file

0.1.0 (07-03-2008)
=====
* Initial release
OCaml

Innovation. Community. Security.