DEBSOURCES
Skip Quicknav
sources / ocaml / 5.4.0-1 / testsuite / tests / lib-sync / trylock2.ml
123456789
(* TEST *) (* Test Mutex.try_lock *) let () = let m = Mutex.create () in assert (Mutex.try_lock m); Mutex.unlock m; print_endline "passed"