package tiny_httpd

  1. Overview
  2. Docs
Minimal HTTP server using threads

Install

Dune Dependency

Authors

Maintainers

Sources

tiny_httpd-0.18.tbz
sha256=ef806444b2f9e53d10976b9124902560d0855124433537080e6d0bec48d202e5
sha512=539530eb9e511b6ed4d69bb083f421d5f51b183c347c116a52f24210f30b1c9b14a029e2b82d6e0d698c74ab75ba5c307a1976711558a1419df287335b2a8f51

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
OCaml

Innovation. Community. Security.