package hack_parallel
Parallel and shared memory library
Install
Dune Dependency
Authors
Maintainers
Sources
1.0.1.tar.gz
md5=ba7c72bc207e326b72e294fc76f6ad2c
sha512=5020d47f97bea2f88e2a40411894d03232a7f2282606926c93c7d4c96d72e94a966be852897a9b16f7e0893ba376512045abb9d93020a7c03c3def4f3d918f8e
doc/src/hack_parallel.utils/exit_status.ml.html
Source file exit_status.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207
(** * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * *) type t = | No_error | Build_error | Build_terminated | Checkpoint_error | Input_error | Kill_error | No_server_running | Out_of_time | Out_of_retries | Server_already_exists | Server_initializing | Type_error | Build_id_mismatch | Monitor_connection_failure | Unused_server | Lock_stolen | Lost_parent_monitor | Interrupted | Worker_oomed | Worker_busy (** An uncaught Not_found exception in the worker. *) | Worker_not_found_exception | Worker_failed_to_send_job | Socket_error | Missing_hhi | Dfind_died | Dfind_unresponsive | EventLogger_Timeout | EventLogger_restart_out_of_retries | EventLogger_broken_pipe | CantRunAI | Watchman_failed (** It is faster to exit the server (and have the Monitor restart the server) * on a Watchman fresh instance than to compute the files that have been * deleted and do an incremental check. *) | Watchman_fresh_instance | File_heap_stale | Hhconfig_deleted | Hhconfig_changed | Server_shutting_down | Server_name_not_found | IDE_malformed_request | IDE_no_server | IDE_out_of_retries | Nfs_root | IDE_init_failure | IDE_typechecker_died | Redecl_heap_overflow | Hash_table_full | IDE_new_client_connected | Lazy_decl_bug | Decl_heap_elems_bug | Parser_heap_build_error | Heap_full | Sql_assertion_failure | Local_type_env_stale | Sql_cantopen | Sql_corrupt | Sql_misuse | Uncaught_exception exception Exit_with of t let exit_code = function | Interrupted -> -6 | No_error -> 0 | Build_terminated -> 1 | Kill_error -> 1 | Server_initializing -> 1 | Server_shutting_down -> 1 | Build_error -> 2 (* used in clientBuild *) | Type_error -> 2 (* used in clientCheck *) | Uncaught_exception -> 2 (* used in server *) | Hhconfig_changed -> 4 | Unused_server -> 5 | No_server_running -> 6 | Out_of_time -> 7 | Out_of_retries -> 7 | Checkpoint_error -> 8 | Build_id_mismatch -> 9 | Monitor_connection_failure -> 9 | Input_error -> 10 | Lock_stolen -> 11 | Lost_parent_monitor -> 12 | Shared_mem_assertion_failure -> 14 | Out_of_shared_memory -> 15 | Hash_table_full -> 16 | Heap_full -> 17 | Worker_oomed -> 30 | Worker_busy -> 31 | Worker_not_found_exception -> 32 | Worker_failed_to_send_job -> 33 | Server_already_exists -> 77 | Missing_hhi -> 97 | Socket_error -> 98 | Dfind_died -> 99 | Dfind_unresponsive -> 100 | EventLogger_Timeout -> 101 | CantRunAI -> 102 | Watchman_failed -> 103 | Hhconfig_deleted -> 104 | Server_name_not_found -> 105 | EventLogger_broken_pipe -> 106 | Redecl_heap_overflow -> 107 | EventLogger_restart_out_of_retries -> 108 | Watchman_fresh_instance -> 109 | IDE_malformed_request -> 201 | IDE_no_server -> 202 | IDE_out_of_retries -> 203 | Nfs_root -> 204 | IDE_init_failure -> 205 | IDE_typechecker_died -> 206 | IDE_new_client_connected -> 207 | Lazy_decl_bug -> 208 | Decl_heap_elems_bug -> 209 | Parser_heap_build_error -> 210 | File_heap_stale -> 211 | Sql_assertion_failure -> 212 | Local_type_env_stale -> 213 | Sql_cantopen -> 214 | Sql_corrupt -> 215 | Sql_misuse -> 216 let exit t = let ec = exit_code t in Pervasives.exit ec let to_string = function | No_error -> "Ok" | Build_error -> "Build_error" | Build_terminated -> "Build_terminated" | Checkpoint_error -> "Checkpoint_error" | Input_error -> "Input_error" | Kill_error -> "Kill_error" | No_server_running -> "No_server_running" | Out_of_time -> "Out_of_time" | Out_of_retries -> "Out_of_retries" | Server_already_exists -> "Server_already_exists" | Server_initializing -> "Server_initializing" | Server_shutting_down -> "Server_shutting_down" | Type_error -> "Type_error" | Build_id_mismatch -> "Build_id_mismatch" | Monitor_connection_failure -> "Monitor_connection_failure" | Unused_server -> "Unused_server" | Lock_stolen -> "Lock_stolen" | Lost_parent_monitor -> "Lost_parent_monitor" | Interrupted -> "Interrupted" | Worker_oomed -> "Worker_oomed" | Worker_busy -> "Worker_busy" | Worker_not_found_exception -> "Worker_not_found_exception" | Worker_failed_to_send_job -> "Worker_failed_to_send_job" | Socket_error -> "Socket_error" | Missing_hhi -> "Missing_hhi" | Dfind_died -> "Dfind_died" | Dfind_unresponsive -> "Dfind_unresponsive" | EventLogger_Timeout -> "EventLogger_Timeout" | EventLogger_restart_out_of_retries -> "EventLogger_restart_out_of_retries" | EventLogger_broken_pipe -> "EventLogger_broken_pipe" | CantRunAI -> "CantRunAI" | Watchman_failed -> "Watchman_failed" | Watchman_fresh_instance -> "Watchman_fresh_instance" | Hhconfig_deleted -> "Hhconfig_deleted" | Hhconfig_changed -> "Hhconfig_changed" | Server_name_not_found -> "Server_name_not_found" | IDE_malformed_request -> "IDE_malformed_request" | IDE_no_server -> "IDE_no_server" | IDE_out_of_retries -> "IDE_out_of_retries" | Nfs_root -> "Nfs_root" | IDE_init_failure -> "IDE_init_failure" | IDE_typechecker_died -> "IDE_typechecker_died" | Redecl_heap_overflow -> "Redecl_heap_overflow" | Shared_mem_assertion_failure -> "Shared_mem_assertion_failure" | Out_of_shared_memory -> "Out_of_shared_memory" | Hash_table_full -> "Hash_table_full" | IDE_new_client_connected -> "IDE_new_client_connected" | Lazy_decl_bug -> "Lazy_decl_bug" | Decl_heap_elems_bug -> "Decl_heap_elems_bug" | Parser_heap_build_error -> "Parser_heap_build_error" | Heap_full -> "Heap_full" | File_heap_stale -> "File_heap_stale" | Sql_assertion_failure -> "Sql_assertion_failure" | Local_type_env_stale -> "Local_type_env_stale" | Sql_cantopen -> "Sql_cantopen" | Sql_corrupt -> "Sql_corrupt" | Sql_misuse -> "Sql_misuse" | Uncaught_exception -> "Uncaught_exception" let unpack = function | Unix.WEXITED n -> "exit", n | Unix.WSIGNALED n -> "signaled", n | Unix.WSTOPPED n -> "stopped", n
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>