From 1338d73c180d22cd2fd2abc5b46554a56f66b1f5 Mon Sep 17 00:00:00 2001 From: Luc Maranget Date: Thu, 13 Mar 2014 15:03:16 +0000 Subject: Merge jo401 w.r.t ocaml/4.01 from 13776 to 14115 Plus ld.conf changes git-svn-id: http://caml.inria.fr/svn/ocaml/branches/jo401@14458 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02 --- stdlib/queue.mli | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'stdlib/queue.mli') diff --git a/stdlib/queue.mli b/stdlib/queue.mli index 354271237d..55e8988329 100644 --- a/stdlib/queue.mli +++ b/stdlib/queue.mli @@ -14,6 +14,10 @@ (** First-in first-out queues. This module implements queues (FIFOs), with in-place modification. + + {b Warning} This module is not thread-safe: each {!Queue.t} value + must be protected from concurrent access (e.g. with a {!Mutex.t}). + Failure to do so can lead to a crash. *) type 'a t -- cgit v1.2.1