package tiny_httpd

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

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.