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
.)