1234567891011121314151617181920(**************************************************************************)(* *)(* OCaml *)(* *)(* Xavier Leroy and Pascal Cuoq, INRIA Rocquencourt *)(* *)(* Copyright 1995 Institut National de Recherche en Informatique et *)(* en Automatique. *)(* *)(* All rights reserved. This file is distributed under the terms of *)(* the GNU Lesser General Public License version 2.1, with the *)(* special exception on linking described in the file LICENSE. *)(* *)(**************************************************************************)typetexternalcreate:unit->t="caml_ml_mutex_new"externallock:t->unit="caml_ml_mutex_lock"externaltry_lock:t->bool="caml_ml_mutex_try_lock"externalunlock:t->unit="caml_ml_mutex_unlock"