package qcheck-lin

  1. Overview
  2. Docs
A multicore testing library for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

0.8.tar.gz
md5=8e7634814a61bf765ac6989f7fdc49cb
sha512=dfa53117ecbf2e466f6ecddfa91d8eb63a3156fe9e1c5a68fd0da26a4c810312581d9ace4c00c4ab1947614f7fb1d6b686003a09da418d2940ac79a7b744a8eb

doc/qcheck-lin.thread/Lin_thread/index.html

Module Lin_threadSource

Module for building concurrent Lin tests over Threads

Context switches in Threads may happen

This module relies on Gc.Memprof support to trigger more frequent context switching between threads at allocation sites. This works well in OCaml 4.11.0-4.14.x and 5.3.0 onwards where Gc.Memprof is available.

In OCaml 5.0-5.2 without Gc.Memprof support the context switching at allocation sites will be inferior. As a consequence the module may fail to trigger concurrency issues.

Context switches at safepoints will trigger much less frequently. This means the module may fail to trigger concurrency issues in connection with these. Consider yourself warned.

Functor to build an internal module representing concurrent tests

Sourcemodule Make (Spec : Lin.Spec) : sig ... end

Functor to build a module for concurrent testing

OCaml

Innovation. Community. Security.