Skip to content

Instantly share code, notes, and snippets.

@ilanl
Created February 26, 2020 09:50
Show Gist options
  • Save ilanl/bbed8e771a302e823ba6b92fd8657a24 to your computer and use it in GitHub Desktop.
Save ilanl/bbed8e771a302e823ba6b92fd8657a24 to your computer and use it in GitHub Desktop.
threads
```
t1 MEMORY t2
0
read 0 0
inc 1
write 1 1
read 1
inc 2
write 2 2
read 2
inc 3
write 3 3
read 3
inc 4
write 4 4
read 4
inc 5
write 5 5
read 5
inc 6
write 6 6
read 6
inc 7
write 7 7
read 7
inc 8
write 8 8
read 8
inc 9
write 9 9
read
inc 1
write 1
write 1 1
read 1
inc 2
write 2
read 2
inc 3
write 3
read 3
inc 4
write 4
read 4
inc 5
write 5
read 5
inc 6
write 6
read 6
inc 7
write 7
read 7
inc 8
write 8
read 8
inc 9
write 9
read 9
inc 10
write 10 10
inc 2
write 2
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment