marionnet-dev team mailing list archive
-
marionnet-dev team
-
Mailing list archive
-
Message #00566
[Branch ~marionnet-drivers/ocamlbricks/trunk] Rev 352: Improved MutexExtra in order to have a method `with_mutex_and_guard' (where the guard is a `bool ...
------------------------------------------------------------
revno: 352
committer: Jean-Vincent Loddo <loddo@xxxxxxxxxxxxxxxxxxxx>
branch nick: ocamlbricks
timestamp: Thu 2013-02-14 14:46:50 +0100
message:
Improved MutexExtra in order to have a method `with_mutex_and_guard' (where the guard is a `bool thunk') also for recursive mutexes:
val with_mutex_and_guard :
?perform_in_critical_section_before_sleeping:(unit -> unit) ->
condition:Condition.t ->
guard:(unit->bool) ->
t ->
(unit->'a) -> 'a
modified:
BASE/log_builder.ml
EXTRA/mutexExtra.ml
EXTRA/mutexExtra.mli
STRUCTURES/string_queue.ml
tests/mutexExtra_test.ml
--
lp:ocamlbricks
https://code.launchpad.net/~marionnet-drivers/ocamlbricks/trunk
Your team marionnet-dev is subscribed to branch lp:ocamlbricks.
To unsubscribe from this branch go to https://code.launchpad.net/~marionnet-drivers/ocamlbricks/trunk/+edit-subscription