diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2015-03-13 16:02:47 +0300 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2015-03-17 15:23:20 +0000 |
| commit | 2e7f0a00c337c0a536fafc1d5cb831cb4c76efad (patch) | |
| tree | 5e44fffcfbed5b168de3dd048f66729c75cade4d /src/math/big/floatconv.go | |
| parent | 4396ea96c43e1df585c648762b6993e84cb6a2e5 (diff) | |
| download | go-2e7f0a00c337c0a536fafc1d5cb831cb4c76efad.tar.xz | |
runtime: fix comment
IRIW requires 4 threads: first writes x, second writes y,
third reads x and y, fourth reads y and x.
This is Peterson/Dekker mutual exclusion algorithm based on
critical store-load sequences:
http://en.wikipedia.org/wiki/Dekker's_algorithm
http://en.wikipedia.org/wiki/Peterson%27s_algorithm
Change-Id: I30a00865afbe895f7617feed4559018f81ff4528
Reviewed-on: https://go-review.googlesource.com/7561
Reviewed-by: Austin Clements <austin@google.com>
Reviewed-by: Rick Hudson <rlh@golang.org>
Diffstat (limited to 'src/math/big/floatconv.go')
0 files changed, 0 insertions, 0 deletions
