package moonpool

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

moonpool-0.11.tbz
sha256=0f3d42753c2636a6a55427af89d2574b08a29c32100f2002ae3e47f6e4d23ff1
sha512=7fa651570493ddd7c594eb46b76782610da6a6823e5178c2b20ceafe2f159649caedaac01e975428605de865d3dff9008a798090cec77c909477a86c04532709

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 _ -> ()