/usr/lib/ocaml/METAS/META.threads is in libfindlib-ocaml 1.5.5-2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | # Specifications for the "threads" library:
version = "[distributed with Ocaml]"
description = "Multi-threading"
requires(mt,mt_vm) = "threads.vm"
requires(mt,mt_posix) = "threads.posix"
directory = "^"
type_of_threads = "posix"
browse_interfaces = " Unit name: Condition Unit name: Event Unit name: Mutex Unit name: Thread Unit name: ThreadUnix "
error(-mt) = "Missing -thread or -vmthread switch"
error(-mt_vm,-mt_posix) = "Missing -thread or -vmthread switch"
package "vm" (
# --- Bytecode-only threads:
requires = "unix"
directory = "+vmthreads"
exists_if = "threads.cma"
archive(byte,mt,mt_vm) = "threads.cma"
version = "[internal]"
)
package "posix" (
# --- POSIX-threads:
requires = "unix"
directory = "+threads"
exists_if = "threads.cma"
archive(byte,mt,mt_posix) = "threads.cma"
archive(native,mt,mt_posix) = "threads.cmxa"
version = "[internal]"
)
|