Mara on Nostr: 🦀 My "inheriting thread locals" aka "thread spawn hook" feature has been merged ...
Published at
2024-11-20 11:41:29Event JSON
{
"id": "f1becf217e3edf7d60ad0ec84e5262241d8414a776196bb5d119c1e6d7ab4245",
"pubkey": "d1561db1acb1c39729cbc0bb1cd4f6faffc0c04d54b8ca8579b9fb6412c35baf",
"created_at": 1732102889,
"kind": 1,
"tags": [
[
"t",
"rustlang"
],
[
"imeta",
"url https://media.hachyderm.io/media_attachments/files/113/515/093/038/237/397/original/50ba3f55b9f4c3c0.png",
"m image/png",
"dim 1614x1132",
"blurhash UcF|4boe];ayxHfPayfQ}bayS1j[xHfRa{j@"
],
[
"proxy",
"https://hachyderm.io/users/Mara/statuses/113515094993179559",
"activitypub"
]
],
"content": "🦀 My \"inheriting thread locals\" aka \"thread spawn hook\" feature has been merged into #rustlang as an unstable feature! You can use it to automatically copy thread local state into new threads, which wasn't possible before. Available on Rustc nightly tomorrow!\n\nhttps://github.com/m-ou-se/rfcs/blob/thread-spawn-hook/text/3642-thread-spawn-hook.md\n\nhttps://media.hachyderm.io/media_attachments/files/113/515/093/038/237/397/original/50ba3f55b9f4c3c0.png",
"sig": "bdf6463177a98cef2d8e541d6d63097f6c2c9d4327f8061318dfda57ea9c2823c0c0dd08ff2457aaf8ae4927b348a2dcdb56e51665d0d6cf0c68a14b9eac35d2"
}