Plasma GitLab Archive
Projects Blog Knowledge

dnl This file is input of the m4 macro processor.
`# 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 = "'type_of_threads`"'

`browse_interfaces = "'interfaces`"'

`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]"'
`)'


This web site is published by Informatikbüro Gerd Stolpmann
Powered by Caml