Yi Wu
5a7f9a5a9c
[flang] use setsid to assign the child to prevent zombie as it will be clean up by init process ( #77944 )
...
When using `setsid()` in a child process created by `fork()`, a new
session is created, and the child becomes a session leader. If the
parent process terminates before the child, the child becomes an orphan
and is adopted by the `init` process. The `init` process will eventually
clean up the child process once it exits.
However, killing the parent does not automatically kill the child; the
child will continue running until it exits.
Proper cleanup involves waiting for the child process to exit using
`wait()` or `waitpid()` in the parent process to avoid zombie processes,
but this approach is not valid for `EXECUTE_COMMAND_LINE` with async
mode.
Fix: https://github.com/llvm/llvm-project/issues/77803
2024-01-19 14:18:57 +00:00
..
2023-11-14 14:24:50 +00:00
2024-01-15 12:18:34 -08:00
2023-12-28 13:50:43 -08:00
2023-10-04 08:21:46 -07:00
2023-10-09 16:26:06 -07:00
2021-09-03 07:17:45 +00:00
2022-07-13 16:12:12 -07:00
2023-12-28 13:50:43 -08:00
2024-01-10 10:02:48 +00:00
2024-01-10 10:02:48 +00:00
2022-10-11 12:34:58 +00:00
2022-06-05 09:16:57 -07:00
2023-04-17 18:02:03 -07:00
2023-12-26 15:44:31 -08:00
2023-12-26 15:44:31 -08:00
2023-12-28 13:50:43 -08:00
2023-06-27 17:38:01 -07:00
2023-12-28 13:50:43 -08:00
2023-10-04 08:21:46 -07:00
2023-09-27 08:20:17 -07:00
2023-12-11 11:55:44 -08:00
2023-12-11 11:55:44 -08:00
2023-10-17 08:20:38 -07:00
2023-12-28 13:50:43 -08:00
2024-01-15 10:39:22 -08:00
2022-03-22 11:48:14 -07:00
2023-12-26 15:23:01 -08:00
2023-10-16 13:56:07 -07:00
2023-04-13 09:43:40 -07:00
2022-10-12 16:57:37 -07:00
2022-10-12 16:57:37 -07:00
2022-10-12 16:57:37 -07:00
2023-12-14 22:03:45 +01:00
2024-01-19 14:18:57 +00:00
2024-01-15 16:54:51 -05:00
2024-01-15 10:29:26 -08:00
2023-05-29 12:26:01 +04:00
2023-12-28 13:50:43 -08:00
2023-11-30 12:51:56 -08:00
2021-09-03 07:17:45 +00:00
2023-11-13 14:52:51 -08:00
2023-12-28 13:50:43 -08:00
2023-12-28 13:50:43 -08:00
2023-12-11 12:32:29 -08:00
2023-02-17 09:15:18 -08:00
2024-01-02 09:44:16 -08:00
2023-05-30 14:12:20 -07:00
2022-05-24 07:54:57 -07:00
2024-01-15 12:52:18 -08:00
2023-12-26 15:44:31 -08:00
2023-12-11 11:28:38 -08:00
2023-12-06 08:45:35 -05:00
2023-09-27 08:20:17 -07:00
2022-12-08 08:34:46 -08:00
2022-10-12 16:57:37 -07:00
2023-12-28 13:50:43 -08:00
2023-12-28 13:50:43 -08:00
2023-12-28 13:50:43 -08:00
2023-12-28 13:50:43 -08:00
2024-01-15 10:02:52 -08:00
2023-04-13 15:35:01 -07:00
2023-04-13 15:35:01 -07:00
2023-05-17 09:22:13 -07:00
2024-01-15 11:48:36 -08:00
2023-12-28 13:50:43 -08:00
2023-12-28 13:50:43 -08:00
2023-12-28 13:50:43 -08:00
2023-11-29 09:20:46 -08:00
2024-01-15 10:29:26 -08:00
2023-12-28 13:50:43 -08:00
2023-10-04 08:21:46 -07:00
2023-10-04 08:21:46 -07:00
2022-08-02 23:02:12 +08:00
2023-12-28 13:50:43 -08:00
2023-12-28 13:50:43 -08:00
2023-08-22 18:56:27 -07:00
2023-09-27 08:20:17 -07:00
2023-09-27 08:20:17 -07:00
2023-04-25 10:12:41 -07:00
2024-01-13 01:22:40 +00:00
2024-01-13 01:22:40 +00:00
2023-12-26 15:12:39 -08:00
2023-09-27 08:20:17 -07:00
2023-10-17 08:20:38 -07:00
2023-09-27 08:20:17 -07:00
2022-06-04 11:06:37 -07:00
2022-06-15 17:29:50 -07:00
2024-01-02 09:44:16 -08:00
2023-12-11 12:56:34 -08:00
2022-03-22 11:48:14 -07:00
2022-03-22 11:48:14 -07:00