Brett Simmers
0749244d13
gh-112175: Add eval_breaker to PyThreadState ( #115194 )
...
This change adds an `eval_breaker` field to `PyThreadState`. The primary
motivation is for performance in free-threaded builds: with thread-local eval
breakers, we can stop a specific thread (e.g., for an async exception) without
interrupting other threads.
The source of truth for the global instrumentation version is stored in the
`instrumentation_version` field in PyInterpreterState. Threads usually read the
version from their local `eval_breaker`, where it continues to be colocated
with the eval breaker bits.
2024-02-20 09:57:48 -05:00
..
2023-11-15 16:38:31 +00:00
2022-06-13 20:09:40 +02:00
2023-07-23 20:10:12 +00:00
2022-06-16 13:49:43 +02:00
2023-08-24 20:25:22 +02:00
2022-11-28 16:40:08 +01:00
2024-01-05 09:45:22 +00:00
2023-11-14 00:31:02 +00:00
2023-11-15 16:38:31 +00:00
2023-08-24 19:37:41 +02:00
2023-07-22 20:57:59 +00:00
2024-02-06 11:36:23 -05:00
2023-08-29 02:36:50 +00:00
2022-11-28 16:40:08 +01:00
2023-07-24 21:20:44 +02:00
2023-07-22 21:44:33 +00:00
2023-07-22 14:21:16 +00:00
2023-09-08 10:34:40 +01:00
2023-10-14 23:32:57 +02:00
2023-07-27 15:30:16 -06:00
2024-01-27 01:20:21 +09:00
2023-11-15 16:38:31 +00:00
2024-02-12 20:13:13 +00:00
2023-08-24 19:07:54 +02:00
2022-06-16 13:49:43 +02:00
2024-02-05 16:20:54 +00:00
2024-02-16 15:49:13 +01:00
2022-06-20 16:04:52 +02:00
2024-02-20 09:39:55 +00:00
2022-06-16 13:49:43 +02:00
2023-11-04 13:59:24 +00:00
2024-02-16 15:25:19 -05:00
2024-02-16 15:25:19 -05:00
2024-02-16 15:25:19 -05:00
2024-02-16 15:25:19 -05:00
2022-06-17 16:12:00 +02:00
2024-02-14 23:35:06 +01:00
2023-08-31 09:56:06 +02:00
2023-12-06 15:09:22 +01:00
2023-10-07 17:59:16 +02:00
2023-10-30 15:43:11 +00:00
2024-02-20 09:57:48 -05:00
2024-02-13 21:24:48 +08:00
2023-08-29 04:18:52 +02:00
2023-10-02 18:07:56 +02:00
2024-02-12 18:13:10 +01:00
2023-07-22 17:04:34 +02:00
2023-12-03 12:16:31 +01:00
2023-08-24 23:35:47 +00:00
2023-07-02 00:49:18 +00:00
2023-07-23 19:16:21 +00:00
2023-11-15 16:38:31 +00:00
2022-06-20 16:04:52 +02:00
2023-06-26 12:10:53 +02:00