commit | 9a86e244bf9041926e03610319474a149356fa2d | [log] [tgz] |
---|---|---|
author | Rob Pike <r@golang.org> | Wed Nov 30 20:11:57 2011 -0800 |
committer | Rob Pike <r@golang.org> | Wed Nov 30 20:11:57 2011 -0800 |
tree | 0fa13b8170911188fe4038ec03b3c19649167c3f | |
parent | ce27b00f48bf3b90445bb4bcd28f6115c129d75b [diff] |
html/template: make execution thread-safe The problem is that execution can modify the template, so it needs interlocking to have the same thread-safe guarantee as text/template. Fixes #2439. R=golang-dev, adg CC=golang-dev https://golang.org/cl/5450056