https://research.swtch.com/gorace
But, the code in Russ Cox's article does not race with the modern Go compiler.