Carl Lerche
012c848401
rt: fix nesting block_in_place with block_on ( #5837 )
...
This patch fixes a bug where nesting `block_in_place` with a `block_on`
between could lead to a panic. This happened because the nested
`block_in_place` would try to acquire a core on return when it should
not attempt to do so. The `block_on` between the two nested
`block_in_place` altered the thread-local state to lead to the incorrect
behavior.
The fix is for each call to `block_in_place` to track if it needs to try
to steal a core back.
Fixes #5239
2023-06-29 14:23:46 -07:00
..
2022-12-29 11:46:08 +09:00
2022-12-09 02:13:22 +09:00
2023-06-05 14:09:43 -07:00
2022-12-06 19:56:13 -08:00
2023-06-06 13:55:37 -07:00
2023-02-26 16:48:09 +01:00
2023-02-26 16:48:09 +01:00
2023-02-26 16:48:09 +01:00
2023-03-04 11:45:42 +01:00
2023-02-26 16:48:09 +01:00
2023-02-26 16:48:09 +01:00
2023-02-26 16:48:09 +01:00
2023-02-26 16:48:09 +01:00
2023-02-26 16:48:09 +01:00
2023-02-26 16:48:09 +01:00
2023-02-26 16:48:09 +01:00
2023-02-26 16:48:09 +01:00
2023-02-26 16:48:09 +01:00
2022-07-26 11:26:54 +00:00
2023-06-06 11:57:20 -07:00
2020-09-24 17:26:03 -07:00
2021-07-30 11:17:40 +02:00
2022-11-06 12:44:26 +01:00
2019-11-22 15:55:10 -08:00
2022-09-08 11:39:06 +02:00
2021-07-30 11:20:16 +02:00
2022-07-26 11:26:54 +00:00
2022-12-06 19:56:13 -08:00
2022-07-26 11:26:54 +00:00
2020-12-15 20:24:38 -08:00
2022-11-06 12:44:26 +01:00
2022-07-26 11:26:54 +00:00
2021-09-15 18:55:50 +02:00
2023-04-04 22:00:41 +02:00
2019-11-22 15:55:10 -08:00
2020-05-24 23:26:33 +02:00
2023-04-16 20:23:53 +02:00
2020-07-28 15:45:02 -07:00
2020-05-24 23:26:33 +02:00
2022-07-26 11:26:54 +00:00
2022-07-26 11:26:54 +00:00
2022-07-26 11:26:54 +00:00
2021-12-10 11:08:49 +01:00
2021-08-03 10:50:40 +02:00
2019-11-22 15:55:10 -08:00
2020-10-21 14:08:49 -07:00
2020-04-12 16:05:03 +02:00
2019-11-22 15:55:10 -08:00
2022-07-26 11:26:54 +00:00
2023-02-25 18:06:17 +01:00
2022-07-26 11:26:54 +00:00
2023-03-19 12:28:43 +01:00
2023-03-21 18:06:47 +01:00
2022-11-30 03:50:41 +09:00
2023-02-25 18:06:17 +01:00
2023-03-21 18:06:47 +01:00
2022-07-26 11:26:54 +00:00
2023-04-21 08:38:46 +02:00
2022-09-28 11:26:24 +00:00
2023-02-27 09:39:07 +01:00
2022-07-26 11:26:54 +00:00
2021-07-26 11:43:55 +02:00
2020-09-07 03:30:40 +00:00
2020-12-19 11:42:24 -08:00
2023-03-21 18:06:47 +01:00
2022-11-22 16:23:26 +00:00
2022-07-26 11:26:54 +00:00
2022-10-05 14:31:08 +02:00
2023-05-21 00:08:00 +00:00
2022-09-14 18:43:40 -07:00
2023-06-07 08:47:58 -07:00
2023-05-23 08:16:41 -07:00
2022-08-26 09:47:19 -07:00
2023-06-29 14:23:46 -07:00
2023-02-27 10:21:42 -08:00
2019-11-22 15:55:10 -08:00
2019-11-22 15:55:10 -08:00
2020-10-12 13:44:54 -04:00
2019-11-22 15:55:10 -08:00
2020-10-12 13:44:54 -04:00
2022-07-26 11:26:54 +00:00
2019-11-22 15:55:10 -08:00
2022-07-06 12:16:12 +02:00
2019-11-22 15:55:10 -08:00
2019-11-22 15:55:10 -08:00
2022-07-26 11:26:54 +00:00
2023-04-16 16:22:38 +02:00
2022-07-26 11:26:54 +00:00
2022-11-13 13:21:08 +00:00
2022-11-12 22:29:13 +00:00
2022-07-26 11:26:54 +00:00
2022-08-09 13:44:29 +02:00
2022-07-26 11:26:54 +00:00
2022-12-09 02:13:22 +09:00
2022-07-26 11:26:54 +00:00
2022-09-27 23:51:47 +02:00
2023-03-08 17:06:08 +01:00
2022-09-27 23:51:47 +02:00
2022-10-30 21:19:37 +00:00
2023-01-21 11:12:24 +01:00
2022-09-14 18:43:40 -07:00
2022-12-17 13:02:18 +01:00
2022-07-12 15:56:33 -07:00
2022-11-13 14:18:42 +01:00
2022-12-09 02:13:22 +09:00
2022-11-18 14:02:53 -08:00
2022-11-06 12:44:26 +01:00
2022-11-06 12:44:26 +01:00
2023-06-01 11:36:28 -07:00
2022-07-26 11:26:54 +00:00
2022-11-18 14:02:53 -08:00
2022-07-26 11:26:54 +00:00
2022-07-26 11:26:54 +00:00
2022-07-26 11:26:54 +00:00
2023-03-21 18:06:47 +01:00
2022-07-26 11:26:54 +00:00
2022-11-18 14:02:53 -08:00
2022-11-06 12:44:26 +01:00
2022-12-05 14:42:49 -08:00
2020-03-23 22:20:07 -07:00
2023-03-27 17:39:53 +02:00
2022-08-26 09:47:19 -07:00
2022-07-26 11:26:54 +00:00
2022-08-26 09:47:19 -07:00
2023-06-10 14:24:19 +02:00
2022-07-26 11:26:54 +00:00
2023-03-28 18:17:22 +00:00
2021-06-14 13:14:35 -07:00
2023-03-28 18:17:22 +00:00
2020-12-19 11:42:24 -08:00
2022-03-28 19:58:06 +00:00
2022-11-01 14:24:01 +01:00