Brent Simmons on Nostr: I’ve been doing some C programming lately — not NetNewsWire, don’t worry! ...
I’ve been doing some C programming lately — not NetNewsWire, don’t worry! (it’s a personal project) — and just last night I learned about pthread_once and I’m over the moon. What a wonderful thing!
(I used to use dispatch_once frequently in Objective-C code. I assume it uses pthread_once.)
Published at
2025-02-25 20:15:06 UTCEvent JSON
{
"id": "286762b8b4f37a641beb8924740c76f96dd524f76d07f9da6d16917e6d5a7e8c",
"pubkey": "5945ca72a468500fbf0009417a8998a8f801b45869ed995977e8d96d33a6933b",
"created_at": 1740514506,
"kind": 1,
"tags": [
[
"proxy",
"https://indieweb.social/users/brentsimmons/statuses/114066358679108429",
"activitypub"
]
],
"content": "I’ve been doing some C programming lately — not NetNewsWire, don’t worry! (it’s a personal project) — and just last night I learned about pthread_once and I’m over the moon. What a wonderful thing!\n\n(I used to use dispatch_once frequently in Objective-C code. I assume it uses pthread_once.)",
"sig": "ce0641e30b82bb3f76bd85a9ec89c76bac41603f5c1488755b17748b2eb54046e57c04ad22f94b9a3dd7c19682a4ca0f2543e79c845227ebd717948b6c508d80"
}