Exit_status.show
[hiphop-php.git] / hphp / hack / src / lwt_unix.ml
blob6c4b16eed69a40f98ca0636dd14b97f646874654
1 (*
2 * Copyright (c) Facebook, Inc. and its affiliates.
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the "hack" directory of this source tree.
7 *)
9 (** This file exists only to ensure that we don't accidentally link hh_server
10 against Lwt_unix. Something about the Lwt_unix module initialization messes with
11 signals in such a way that many of our raw Unix.XXX IO calls fail with EINTR, so
12 adding this fake module causes us to have a build failure if we ever link
13 against Lwt_unix from inside hh_server. EINTR is technically retryable, and we
14 could fix it by finding every single existing raw IO call and wrapping them, but
15 we'd have to make sure that no raw IO ever got checked in again without being
16 guarded. Given that, we felt it was more future-proof to just forbid Lwt_unix.
17 For more context, view T37072141. *)