package moonpool

  1. Overview
  2. Docs
Pools of threads supported by a pool of domains

Install

dune-project
 Dependency

Authors

Maintainers

Sources

moonpool-0.10.tbz
sha256=6e3ddd37c8db9b2b7945031a72f716ba291753b1b212dd85af3cc1d62325375a
sha512=07e51249842078b08850506ff76800c4fc9185113a08b69c517fd3e6e561120dbd12a0aabd89518a540adf4d0711fd0785894595d2a3e39a799e764a427c25fc

doc/src/moonpool.private/signals_.ml.html

Source file signals_.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
let ignore_signals_ () =
  try
    Thread.sigmask SIG_BLOCK
      [
        Sys.sigpipe;
        Sys.sigbus;
        Sys.sigterm;
        Sys.sigchld;
        Sys.sigalrm;
        Sys.sigint;
        Sys.sigusr1;
        Sys.sigusr2;
      ]
    |> ignore
  with _ -> ()