News for hackers. Stuff that matters.
Re:Goroutines and APIs by sagichmal on Tuesday November 19, 2019 @12:35AM (#21570864)
Which operations need kernel threads? There is runtime.LockOSThread if you need underlying thread affinity, but I'm not aware of any other mechanism to interact with the underlying threads of execution.
Re:Goroutines and APIs by ridiculous_fish on Tuesday November 19, 2019 @12:52AM (#21570923)
For example os.Stat()
Re:Goroutines and APIs by sagichmal on Tuesday November 19, 2019 @01:52AM (#21571113)
Interesting, I've never encountered a situation where that kind of thing matters, out of curiosity what are your use cases?