[Pkg-ocaml-maint-commits] [SCM] Cooperative light-weight thread library for OCaml branch, master, updated. debian/2.3.1-1-5-g3281c74

2011-12-31 Thread Stephane Glondu
The following commit has been merged in the master branch:
commit 2e0c0a04560b0fa2e31ae0f4f0f1179c02a40085
Merge: 374eb828d863f84e09413877c40ca17e60f62e07 
06a53414622712cda6316bfd75f83a53c3da60db
Author: Stephane Glondu st...@glondu.net
Date:   Sat Dec 31 10:09:20 2011 +0100

Merge commit 'upstream/2.3.2'


-- 
Cooperative light-weight thread library for OCaml

___
Pkg-ocaml-maint-commits mailing list
Pkg-ocaml-maint-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ocaml-maint-commits


[Pkg-ocaml-maint-commits] [SCM] Cooperative light-weight thread library for OCaml branch, master, updated. debian/2.3.1-1-5-g3281c74

2011-12-31 Thread Stephane Glondu
The following commit has been merged in the master branch:
commit f7ae39a5a610050b2653294986c66d6427bb25d3
Author: Stephane Glondu st...@glondu.net
Date:   Sat Dec 31 10:09:34 2011 +0100

New upstream release

diff --git a/debian/changelog b/debian/changelog
index cb203bc..8eb7715 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+lwt (2.3.2-1) UNRELEASED; urgency=low
+
+  * New upstream release
+
+ -- Stéphane Glondu glo...@debian.org  Sat, 31 Dec 2011 10:09:28 +0100
+
 lwt (2.3.1-1) unstable; urgency=low
 
   * New upstream release

-- 
Cooperative light-weight thread library for OCaml

___
Pkg-ocaml-maint-commits mailing list
Pkg-ocaml-maint-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ocaml-maint-commits

[Pkg-ocaml-maint-commits] [SCM] Cooperative light-weight thread library for OCaml branch, master, updated. debian/2.3.1-1-5-g3281c74

2011-12-31 Thread Stephane Glondu
The following commit has been merged in the master branch:
commit 3281c74f058dc36ab619008cc852301f6bf66ced
Author: Stephane Glondu st...@glondu.net
Date:   Sat Dec 31 10:10:09 2011 +0100

Refresh patches

diff --git a/debian/patches/0001-Do-not-build-manual-manual.pdf.patch 
b/debian/patches/0001-Do-not-build-manual-manual.pdf.patch
index 05af968..3a8b94e 100644
--- a/debian/patches/0001-Do-not-build-manual-manual.pdf.patch
+++ b/debian/patches/0001-Do-not-build-manual-manual.pdf.patch
@@ -7,7 +7,7 @@ Subject: Do not build manual/manual.pdf
  1 files changed, 3 insertions(+), 3 deletions(-)
 
 diff --git a/setup.ml b/setup.ml
-index 8e925d1..91ad1db 100644
+index f799762..89f1a90 100644
 --- a/setup.ml
 +++ b/setup.ml
 @@ -5160,7 +5160,7 @@ let setup_t =
diff --git a/debian/patches/0002-fix-a-race-condition-in-Lwt_io.patch 
b/debian/patches/0002-fix-a-race-condition-in-Lwt_io.patch
deleted file mode 100644
index 2dac1fe..000
--- a/debian/patches/0002-fix-a-race-condition-in-Lwt_io.patch
+++ /dev/null
@@ -1,121 +0,0 @@
-From: Jeremie Dimino jere...@dimino.org
-Date: Thu, 28 Jul 2011 13:23:03 +0200
-Subject: fix a race condition in Lwt_io
-
-Origin: 
http://ocsigen.org/darcsweb/?r=lwt;a=commit;h=20110718145731-c41ad-7ced2812fef6069e83864996a274e5e55db1aaf4.gz

- src/unix/lwt_io.ml |   30 ++
- 1 files changed, 18 insertions(+), 12 deletions(-)
-
-diff --git a/src/unix/lwt_io.ml b/src/unix/lwt_io.ml
-index ce2b36c..28d8935 100644
 a/src/unix/lwt_io.ml
-+++ b/src/unix/lwt_io.ml
-@@ -58,6 +58,9 @@ type 'mode state =
-   (* An atomic operations is being performed on the channel. The
-  argument is the temporary atomic wrapper. *)
- 
-+  | Waiting_for_busy
-+  (* A queued operation has not yet started. *)
-+
-   | Idle
-   (* The channel is unused *)
- 
-@@ -169,7 +172,7 @@ let is_busy ch =
- raise (invalid_channel ch.channel)
- | Idle | Closed -
- false
--| Busy_primitive | Busy_atomic _ -
-+| Busy_primitive | Busy_atomic _ | Waiting_for_busy -
- true
- 
- (* Flush/refill the buffer. No race condition could happen because
-@@ -226,7 +229,7 @@ let perform_io ch = match ch.main.state with
-   | Invalid -
-   raise_lwt (invalid_channel ch)
- 
--  | Idle -
-+  | Idle | Waiting_for_busy -
-   assert false
- 
- let refill = perform_io
-@@ -259,7 +262,7 @@ let auto_flush oc =
-   lwt () = Lwt.pause () in
-   let wrapper = deepest_wrapper oc in
-   match wrapper.state with
--| Busy_primitive -
-+| Busy_primitive | Waiting_for_busy -
- (* The channel is used, cancel auto flushing. It will be
-restarted when the channel returns to the [Idle] state: *)
- oc.auto_flushing - false;
-@@ -287,9 +290,12 @@ let auto_flush oc =
- 
- let unlock wrapper = match wrapper.state with
-   | Busy_primitive | Busy_atomic _ -
--  wrapper.state - Idle;
--  if not (Lwt_sequence.is_empty wrapper.queued) then
--wakeup_later (Lwt_sequence.take_l wrapper.queued) ();
-+  if Lwt_sequence.is_empty wrapper.queued then
-+wrapper.state - Idle
-+  else begin
-+wrapper.state - Waiting_for_busy;
-+wakeup_later (Lwt_sequence.take_l wrapper.queued) ()
-+  end;
-   (* Launches the auto-flusher: *)
-   let ch = wrapper.channel in
-   if (* Launch the auto-flusher only if the channel is not busy: *)
-@@ -309,7 +315,7 @@ let unlock wrapper = match wrapper.state with
-   if not (Lwt_sequence.is_empty wrapper.queued) then
- wakeup_later (Lwt_sequence.take_l wrapper.queued) ()
- 
--  | Idle -
-+  | Idle | Waiting_for_busy -
-   (* We must never unlock an unlocked channel *)
-   assert false
- 
-@@ -323,7 +329,7 @@ let primitive f wrapper = match wrapper.state with
- unlock wrapper;
- return ()
- 
--  | Busy_primitive | Busy_atomic _ -
-+  | Busy_primitive | Busy_atomic _ | Waiting_for_busy -
-   let (res, w) = task () in
-   let node = Lwt_sequence.add_r w wrapper.queued in
-   Lwt.on_cancel res (fun _ - Lwt_sequence.remove node);
-@@ -334,7 +340,7 @@ let primitive f wrapper = match wrapper.state with
- unlock wrapper;
- raise_lwt (closed_channel wrapper.channel)
- 
--| Idle -
-+| Idle | Waiting_for_busy -
- wrapper.state - Busy_primitive;
- try_lwt
-   f wrapper.channel
-@@ -370,7 +376,7 @@ let atomic f wrapper = match wrapper.state with
- unlock wrapper;
- return ()
- 
--  | Busy_primitive | Busy_atomic _ -
-+  | Busy_primitive | Busy_atomic _ | Waiting_for_busy -
-   let (res, w) = task () in
-   let node = Lwt_sequence.add_r w wrapper.queued in
-   Lwt.on_cancel res (fun _ - Lwt_sequence.remove node);
-@@ -381,7 +387,7 @@ let atomic f wrapper = match wrapper.state with
- unlock wrapper;
- raise_lwt (closed_channel wrapper.channel)
- 
--| Idle -
-+| Idle |