good first issuemultithreading
Repository metrics
- Stars
- (48,709 stars)
- PR merge metrics
- (Avg merge 20d 6h) (157 merged PRs in 30d)
Description
It might be useful to have a Threads.@once macro that guarantees a line of code will only be executed once, either globally or in a given scope, a la C++ call_once or GCD dispatch_once