package tiny_httpd

  1. Overview
  2. Docs
Minimal HTTP server using threads

Install

dune-project
 Dependency

Authors

Maintainers

Sources

tiny_httpd-0.22.tbz
sha256=09fb93125c26b99f8714d0060dd3fb972046cde3ff935626d495b25e80543d8e
sha512=5751a0ac007c8cad11255d08b4915c8a8fb82ad33d28e58809ef1e29dc8c8f2fceb0dd15ecbe1fda5b5db2edbbc9479fa1d0690a4a25949e1d1b375ea13bd1a9

doc/tiny_httpd.unix/Tiny_httpd_unix/Sem/index.html

Module Tiny_httpd_unix.SemSource

semaphore, for limiting concurrency.

Sourcetype t = {
  1. mutable n : int;
  2. max : int;
  3. mutex : Mutex.t;
  4. cond : Condition.t;
}
Sourceval create : int -> t
Sourceval acquire : int -> t -> unit
Sourceval release : int -> t -> unit
Sourceval num_acquired : t -> int