Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
text/template: docs say "A template may be executed safely in parallel." which is misleading #19439
What version of Go are you using (
The meaning of "safely" in this context is, without corruption of the heap. That is, execution is data-race free.
Usually it's understood that I/O interleaves when there are multiple writers, but if it seems a surprise the documentation could say this. I don't want every concurrent-safe function in the library to need to describe the rules of concurrent execution though.
I will address the wording in the CL.