Closed ericlagergren closed 8 years ago
You may need to set export GORACE="history_size=7"
to see the writing goroutine.
Thanks. That looks like an easy fix.
On Tue, Mar 15, 2016 at 8:54 AM, Eric Lagergren notifications@github.com wrote:
You may need to set export GORACE="history_size=7" to see the writing goroutine.
— Reply to this email directly or view it on GitHub https://github.com/pkg/profile/issues/17#issuecomment-196537565.
No problem!
Running as shown in the example (i.e.,
defer profile.Start().Stop()
) causes a data race: