1
0
mirror of https://github.com/golang/go synced 2024-10-04 12:31:21 -06:00
go/src/pkg/sync
Dmitriy Vyukov ab596cae9e sync/atomic: replace MFENCE with LOCK XADD
MFENCE was introduced only on the Pentium4 (SSE2),
while XADD was introduced on the 486.
Fixes #2268.

R=golang-dev, rsc
CC=fshahriar, golang-dev
https://golang.org/cl/5056045
2011-09-19 11:09:00 -07:00
..
atomic sync/atomic: replace MFENCE with LOCK XADD 2011-09-19 11:09:00 -07:00
cond_test.go sync: always wake up previously sleeping goroutines on Cond.Signal 2011-06-01 20:30:42 -03:00
cond.go sync: always wake up previously sleeping goroutines on Cond.Signal 2011-06-01 20:30:42 -03:00
Makefile sync: use sync/atomic 2011-02-25 14:29:47 -05:00
mutex_test.go go/printer: changed max. number of newlines from 3 to 2 2011-07-14 14:39:40 -07:00
mutex.go sync: improve Mutex to allow successive acquisitions 2011-06-30 11:13:29 -04:00
once_test.go sync: add benchmark for Once. 2011-06-27 16:02:13 -04:00
once.go sync: improve Once fast path 2011-07-21 11:30:14 -04:00
rwmutex_test.go sync: improve RWMutex performance 2011-07-12 09:24:21 -07:00
rwmutex.go sync: improve RWMutex performance 2011-07-12 09:24:21 -07:00
waitgroup_test.go sync: add fast paths to WaitGroup 2011-07-18 12:35:55 -04:00
waitgroup.go sync: add fast paths to WaitGroup 2011-07-18 12:35:55 -04:00