Willy Tarreau
6ec902a659
MINOR: threads: serialize threads initialization
...
There is no point in initializing threads in parallel when we know that
it's the moment where some global variables are turned to thread-local
ones, and/or that some global variables are updated (like global_now or
trash_size). Some FDs might be created/destroyed/reallocated and could
be tricky to follow as well (think about epoll_fd for example).
Instead of having to be extremely careful about all these, and to trigger
false positives in thread sanitizers, let's simply initialize one thread
at a time. The init step is very fast so nobody should even notice, and
we won't have any more doubts about what might have happened when
analysing a dump.
See GH issues #111 and #117 for some background on this.
2019-06-07 15:37:47 +02:00
..
2019-04-19 15:53:23 +02:00
2019-04-19 11:45:20 +02:00
2019-05-07 06:54:07 +02:00
2019-04-25 17:26:46 +02:00
2019-04-26 13:15:56 +02:00
2019-03-05 11:04:23 +01:00
2019-05-22 19:47:57 +02:00
2019-06-05 18:03:38 +02:00
2019-01-14 19:32:15 +01:00
2018-11-26 19:50:32 +01:00
2019-06-05 10:12:11 +02:00
2019-05-21 15:16:45 +02:00
2019-05-22 20:43:45 +02:00
2019-06-06 16:25:55 +02:00
2019-01-02 20:12:44 +01:00
2019-06-05 18:03:38 +02:00
2019-06-07 15:37:47 +02:00
2019-05-28 17:25:21 +02:00
2019-05-20 21:14:14 +02:00
2019-06-05 18:03:38 +02:00
2019-05-28 07:42:12 +02:00
2019-05-29 21:53:37 +02:00
2019-06-05 08:33:35 +02:00
2019-04-23 11:41:52 +02:00
2019-05-28 17:25:21 +02:00
2019-05-28 17:25:21 +02:00
2019-05-28 17:25:21 +02:00
2019-05-28 17:25:21 +02:00
2019-05-28 17:25:21 +02:00
2019-05-27 17:40:59 +02:00
2019-05-28 07:42:33 +02:00
2019-06-05 10:12:11 +02:00
2019-06-06 16:36:19 +02:00
2019-06-05 10:12:11 +02:00
2017-10-31 18:01:18 +01:00
2018-11-26 19:50:32 +01:00
2019-04-12 22:06:53 +02:00
2019-06-05 10:12:11 +02:00
2019-06-07 15:37:47 +02:00
2018-03-21 05:04:01 +01:00
2019-05-22 11:50:48 +02:00
2017-11-24 17:49:53 +01:00
2019-05-07 06:58:15 +02:00
2019-06-05 10:12:11 +02:00
2019-04-01 07:44:56 +02:00
2019-04-01 07:44:56 +02:00
2019-04-01 07:44:56 +02:00
2019-04-01 07:44:56 +02:00
2018-11-26 19:50:32 +01:00
2019-05-28 08:26:17 +02:00
2018-11-26 19:50:32 +01:00
2019-06-05 10:12:11 +02:00
2019-05-28 14:48:59 +02:00
2019-05-10 11:47:00 +02:00
2019-05-07 06:58:15 +02:00
2019-04-15 21:55:48 +02:00
2019-06-05 10:12:11 +02:00
2019-01-14 19:33:17 +01:00
2018-08-21 19:44:53 +02:00
2018-12-14 08:33:28 +01:00
2019-05-27 10:29:59 +02:00
2019-03-11 17:02:38 +01:00
2019-04-30 15:28:29 +02:00
2019-06-07 11:13:24 +02:00
2016-01-11 07:31:35 +01:00
2019-04-19 11:35:22 +02:00
2019-05-28 17:25:21 +02:00
2019-06-05 10:12:11 +02:00
2019-06-07 08:47:44 +02:00
2019-05-22 19:47:57 +02:00
2019-05-22 11:29:18 +02:00
2019-05-22 11:29:18 +02:00
2018-11-26 19:50:32 +01:00
2019-05-07 06:58:15 +02:00
2019-05-28 07:42:12 +02:00
2019-06-06 16:42:14 +02:00
2019-04-15 21:55:48 +02:00
2019-05-29 15:41:47 +02:00
2019-06-05 10:12:11 +02:00
2019-06-05 18:03:38 +02:00
2019-06-06 18:17:32 +02:00
2016-04-14 11:18:22 +02:00
2019-06-05 18:03:38 +02:00
2018-09-12 07:12:27 +02:00
2019-06-02 11:30:07 +02:00
2019-05-27 10:29:59 +02:00
2019-06-05 18:03:38 +02:00
2019-05-07 06:58:15 +02:00
2019-05-07 06:58:15 +02:00
2019-06-06 16:25:55 +02:00
2019-06-05 18:03:38 +02:00
2019-04-01 07:44:56 +02:00
2018-12-02 18:40:29 +01:00
2018-12-02 18:39:52 +01:00
2019-06-06 13:21:23 +02:00
2019-06-07 11:13:24 +02:00
2019-06-05 10:12:11 +02:00
2019-06-05 08:42:36 +02:00
2019-06-06 16:36:19 +02:00
2019-06-06 16:36:19 +02:00
2019-06-04 17:18:40 +02:00
2019-06-05 18:03:38 +02:00
2019-06-06 16:50:39 +02:00
2017-10-24 19:54:25 +02:00
2017-11-24 17:19:12 +01:00
2019-06-04 16:48:15 +02:00
2019-01-04 18:20:32 +01:00
2019-05-23 10:20:55 +02:00
2019-05-22 14:01:22 +02:00
2019-06-05 18:03:38 +02:00
2019-04-01 07:44:56 +02:00