A thread wrapping for modular OCaml libraries.