Matthias Krüger
1e39eb7d53
Rollup merge of #126953 - joboet:lazy_key, r=jhpratt
...
std: separate TLS key creation from TLS access
Currently, `std` performs an atomic load to get the OS key on every access to `StaticKey` even when the key is already known. This PR thus replaces `StaticKey` with the platform-specific `get` and `set` function and a new `LazyKey` type that acts as a `LazyLock<Key>`, allowing the reuse of the retreived key for multiple accesses.
Related to #110897 .
2024-06-29 09:14:56 +02:00
..
2023-12-10 10:56:22 +08:00
2024-06-03 17:35:58 +01:00
2023-12-10 10:56:22 +08:00
2024-06-25 01:32:36 -04:00
2024-06-24 00:42:21 -05:00
2024-06-24 00:42:21 -05:00
2024-06-25 01:32:36 -04:00
2024-06-25 07:36:34 -06:00
2024-06-24 10:23:50 -07:00
2024-06-20 09:23:20 +10:00
2024-06-20 09:23:18 +10:00
2024-06-24 10:23:50 -07:00
2024-01-11 11:30:12 -05:00
2024-06-22 00:46:55 +02:00
2024-06-06 23:18:01 +01:00
2024-06-11 16:52:02 +02:00
2024-06-24 10:23:50 -07:00
2024-06-18 23:25:08 +08:00
2024-06-29 09:14:56 +02:00
2024-06-25 23:44:49 -07:00
2024-06-18 23:25:08 +08:00
2024-06-11 17:13:26 +02:00
2024-06-16 13:14:01 +02:00
2024-06-12 18:15:32 +00:00
2024-06-16 13:14:01 +02:00
2024-06-25 01:32:36 -04:00
2024-05-02 18:57:30 +02:00
2024-05-02 18:57:30 +02:00
2024-06-25 01:32:36 -04:00
2024-06-22 19:33:55 +02:00
2024-03-15 10:51:57 -07:00
2024-04-03 20:27:20 +02:00
2024-06-24 10:23:50 -07:00
2024-06-25 01:32:36 -04:00
2024-05-01 21:01:51 -04:00
2024-06-12 13:15:29 +02:00
2024-06-17 20:44:55 +02:00
2024-04-08 11:57:17 +00:00
2024-06-25 07:36:34 -06:00
2024-06-10 12:25:05 +00:00
2024-06-16 13:14:01 +02:00
2024-03-07 07:49:22 +01:00