Takashi Yano
2544e75396
Cygwin: signal: Fix a short period of deadlock
...
The main thread waits for the sig thread to read the signal pipe by
calling Sleep(10) if writing to the signal pipe has failed. However,
if the signal thread waiting for another signal being handled in the
main thread, the sig thread does not read the signal pipe. To avoid
such a situation, this patch replaces Sleep(10) to cygwait().
Addresses: https://cygwin.com/pipermail/cygwin/2024-November/256744.html
Fixes: 6f05b327678f ("(sig_send): Retry WriteFiles which fail when there is no error but packbytes have not been sent.")
Reported-by: Christian Franke <Christian.Franke@t-online.de>
Reviewed-by: Corinna Vinschen <corinna@vinschen.de>
Signed-off-by: Takashi Yano <takashi.yano@nifty.ne.jp>
2024-12-03 21:22:01 +09:00
..
2022-08-29 17:53:48 +01:00
2024-11-11 21:45:03 +09:00
2024-11-12 13:05:07 +01:00
2022-08-04 20:54:09 +02:00
2024-02-21 19:54:20 +01:00
2024-01-18 10:53:25 +01:00
2024-12-03 21:21:06 +09:00
2023-04-18 13:43:06 +02:00
2024-03-01 22:35:22 +01:00
2023-03-20 12:58:03 +01:00
2024-11-28 21:58:50 +01:00
2024-12-03 21:21:06 +09:00
2024-03-20 12:31:50 +01:00
2024-03-07 21:50:07 +01:00
2022-12-20 10:19:23 +01:00
2022-08-04 22:13:59 +02:00
2023-08-07 16:04:32 +02:00
2024-06-01 15:23:37 +09:00
2022-12-04 14:01:41 +01:00
2022-10-28 16:26:53 +02:00
2022-05-16 18:17:06 +02:00
2023-02-25 16:12:51 +01:00
2024-11-20 11:16:24 +01:00
2024-11-23 12:23:15 +01:00
2024-11-23 12:23:15 +01:00
2024-02-16 20:44:31 +01:00
2022-10-28 16:26:53 +02:00
2024-04-09 22:30:03 +02:00
2022-08-22 14:38:49 +02:00
2024-07-09 00:01:22 +09:00
2024-07-09 00:01:22 +09:00
2024-03-20 12:34:51 +01:00
2022-05-29 17:54:32 -04:00
2024-01-29 13:33:05 +01:00
2024-11-01 04:50:45 +09:00
2024-02-03 19:54:50 +01:00
2024-02-28 09:59:07 +01:00
2024-11-28 20:25:27 +09:00
2024-03-07 21:50:07 +01:00
2024-02-01 13:34:52 +01:00
2022-05-29 17:45:52 -04:00
2024-11-20 21:19:15 +09:00
2024-01-29 13:33:05 +01:00
2023-09-08 22:34:52 +02:00
2022-05-04 15:08:44 +02:00
2024-03-18 11:10:13 +01:00
2024-02-03 19:54:50 +01:00
2024-03-11 12:46:50 +01:00
2022-07-28 16:38:01 +02:00
2022-08-04 22:13:59 +02:00
2022-05-29 17:45:52 -04:00
2024-01-31 20:11:58 +01:00
2022-08-04 22:13:59 +02:00
2022-05-29 17:54:32 -04:00
2024-11-19 17:02:13 +01:00
2024-12-02 17:23:43 +01:00
2022-05-29 17:45:52 -04:00
2024-01-08 11:45:13 +01:00
2024-08-13 19:35:49 +01:00
2024-08-13 19:44:00 +01:00
2023-06-16 21:44:41 +02:00
2024-02-20 23:55:51 +01:00
2024-11-28 23:52:40 +01:00
2024-11-25 12:22:51 +01:00
2022-06-27 10:54:24 +09:00
2022-08-10 18:11:57 +02:00
2024-10-23 13:25:09 +02:00
2022-08-04 22:13:59 +02:00
2022-08-03 16:01:29 +02:00
2024-03-07 21:50:07 +01:00
2022-12-04 14:01:41 +01:00
2024-12-02 17:23:43 +01:00
2024-11-01 04:50:45 +09:00
2022-08-22 14:28:11 +02:00
2024-11-23 12:23:15 +01:00
2024-12-03 21:22:01 +09:00
2022-08-22 17:58:53 +02:00
2024-11-01 04:50:45 +09:00
2024-01-31 20:11:58 +01:00
2023-08-15 22:34:29 +02:00
2023-03-15 21:44:52 +01:00
2024-12-02 17:23:43 +01:00
2023-08-29 14:17:04 +02:00
2022-08-03 15:35:29 +02:00
2024-11-12 13:05:07 +01:00
2022-08-04 22:13:59 +02:00
2024-03-07 21:50:07 +01:00
2022-08-23 12:09:44 +02:00
2024-02-14 14:00:34 +01:00
2024-03-20 12:31:50 +01:00
2024-11-28 23:52:40 +01:00
2024-11-28 23:52:40 +01:00
2022-08-04 22:13:59 +02:00