Takashi Yano
bfb16b0ede
Cygwin: thread: Reset _my_tls.tid if it's pthread_null in init_mainthread().
...
Currently, _my_tls.tid is set to pthread_null if pthread::self()
is called before pthread::init_mainthread(). As a result, pthread::
init_mainthread() does not set _my_tls.tid appropriately. Due to
this, pthread_join() fails in LDAP environment if the program is
the first program which loads cygwin1.dll.
https://cygwin.com/pipermail/cygwin/2023-June/253792.html
With this patch, _my_tls.tid is re-initialized in pthread::
init_mainthread() if it is pthread_null.
Reported-by: Mümin A. <muminaydin06@gmail.com>
Reviewed-by: Corinna Vinschen <corinna@vinschen.de>
Signed-off-by: Takashi Yano <takashi.yano@nifty.ne.jp>
2023-06-27 22:10:43 +09:00
..
2022-08-29 17:53:48 +01:00
2023-06-20 10:06:56 +02:00
2023-06-16 21:44:41 +02:00
2022-08-04 20:54:09 +02:00
2023-03-01 10:54:52 +01:00
2023-02-26 20:14:54 +01:00
2023-06-20 10:06:56 +02:00
2023-04-18 13:43:06 +02:00
2023-04-18 10:06:53 +02:00
2023-03-20 12:58:03 +01:00
2023-04-19 21:08:48 +02:00
2023-01-10 10:27:13 +00:00
2023-02-09 21:58:44 +01:00
2021-11-10 20:16:15 -05:00
2022-12-20 10:19:23 +01:00
2022-08-04 22:13:59 +02:00
2022-08-04 22:13:59 +02:00
2023-01-17 16:32:14 +01: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
2022-08-04 22:13:59 +02:00
2022-08-23 12:09:44 +02:00
2023-04-19 00:34:36 +02:00
2022-10-28 16:26:53 +02:00
2023-01-10 21:04:29 +09:00
2022-08-22 14:38:49 +02:00
2023-01-21 18:25:56 +01:00
2023-01-21 18:25:56 +01:00
2021-11-15 19:32:23 -05:00
2022-05-29 17:54:32 -04:00
2022-06-06 12:00:45 -04:00
2023-03-07 10:51:44 +09:00
2022-08-03 15:35:34 +02:00
2022-08-04 15:16:48 +02:00
2023-03-07 10:51:29 +09:00
2022-07-28 22:00:40 +02:00
2023-03-07 10:51:29 +09:00
2022-05-29 17:45:52 -04:00
2022-12-04 14:01:41 +01:00
2022-08-29 12:25:24 +02:00
2023-03-20 12:55:30 +01:00
2022-05-04 15:08:44 +02:00
2023-03-03 18:19:17 +01:00
2023-02-19 14:40:29 +01:00
2022-05-29 17:45:52 -04: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
2022-08-04 22:13:59 +02:00
2022-08-04 22:13:59 +02:00
2022-05-29 17:54:32 -04:00
2023-02-15 15:04:16 +01:00
2022-08-10 18:06:28 +02:00
2022-05-29 17:45:52 -04:00
2023-03-21 18:02:49 +01:00
2022-08-04 11:45:58 +02:00
2023-04-24 22:41:41 +02:00
2023-06-16 21:44:41 +02:00
2022-05-29 17:45:52 -04:00
2023-05-24 20:44:52 +01:00
2023-03-07 10:51:29 +09:00
2022-06-27 10:54:24 +09:00
2022-08-10 18:11:57 +02:00
2022-08-22 14:53:30 +02:00
2022-08-04 22:13:59 +02:00
2022-08-03 16:01:29 +02:00
2022-12-07 21:18:24 +01:00
2022-12-04 14:01:41 +01:00
2021-10-29 18:19:45 +02:00
2022-12-22 21:05:31 +09:00
2022-08-22 14:28:11 +02:00
2022-05-29 17:45:52 -04:00
2023-01-10 11:48:02 +01:00
2022-08-22 17:58:53 +02:00
2023-04-19 21:08:48 +02:00
2022-06-06 12:00:45 -04:00
2023-04-19 10:14:46 +02:00
2023-03-15 21:44:52 +01:00
2023-04-18 18:18:27 +02:00
2022-05-29 17:54:32 -04:00
2022-08-03 15:35:29 +02:00
2023-06-27 22:10:43 +09:00
2022-08-04 22:13:59 +02:00
2022-12-04 14:01:41 +01:00
2022-08-23 12:09:44 +02:00
2023-03-07 10:51:29 +09:00
2023-06-06 15:18:53 +02:00
2022-12-07 22:22:38 +01:00
2023-06-20 10:06:56 +02:00
2022-08-04 22:13:59 +02:00