[][src]Module ocaml::runtime

Functions for interacting with the OCaml runtime

Functions

acquire_lock

Obtain global lock

init

Initialize the OCaml runtime, this will all command-line arguments to be available using Sys.argv.

locked

Execute a function with the OCaml global lock

release_lock

Release global lock

shutdown

Shutdown and cleanup OCaml runtime

unlocked

Execute a function without the OCaml global lock