├── .gitignore ├── .travis.yml ├── Cargo.toml ├── LICENSE-MIT ├── README.md ├── benches ├── get_one.rs ├── increment.rs ├── read.rs ├── rw.rs ├── set_one.rs ├── single_threaded_scaling.rs └── thread_key.rs ├── ci ├── htm.sh ├── meta.sh ├── rbtree.sh └── swym.sh ├── examples ├── dining_philosophers.rs ├── stack.rs └── tlock.rs ├── info ├── insert.png ├── lookup.png └── rbtree.md ├── rustfmt.toml ├── src ├── internal.rs ├── internal │ ├── alloc.rs │ ├── alloc │ │ ├── dyn_vec.rs │ │ └── fvec.rs │ ├── bloom.rs │ ├── commit.rs │ ├── epoch.rs │ ├── gc.rs │ ├── gc │ │ ├── queued.rs │ │ ├── quiesce.rs │ │ ├── quiesce │ │ │ ├── global.rs │ │ │ ├── synch.rs │ │ │ └── synch_list.rs │ │ └── thread_garbage.rs │ ├── optim.rs │ ├── parking.rs │ ├── phoenix_tls.rs │ ├── read_log.rs │ ├── starvation.rs │ ├── tcell_erased.rs │ ├── thread.rs │ ├── usize_aligned.rs │ └── write_log.rs ├── lib.rs ├── read.rs ├── rw.rs ├── stats.rs ├── stats_list.rs ├── tcell.rs ├── thread_key.rs ├── tptr.rs └── tx.rs ├── swym-htm ├── Cargo.toml ├── src │ ├── lib.rs │ ├── powerpc64.rs │ ├── unsupported.rs │ └── x86_64.rs └── x.py ├── swym-rbtree ├── Cargo.toml ├── benches │ ├── insert.rs │ └── rbtree.rs ├── src │ ├── base.rs │ └── lib.rs ├── tests │ └── count.rs └── x.py ├── tests ├── memory.rs ├── reentrancy.rs ├── starvation.rs ├── tls.rs └── unpark.rs └── x.py /.gitignore: -------------------------------------------------------------------------------- 1 | target 2 | **/*.rs.bk 3 | Cargo.lock 4 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/.travis.yml -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE-MIT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/LICENSE-MIT -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/README.md -------------------------------------------------------------------------------- /benches/get_one.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/benches/get_one.rs -------------------------------------------------------------------------------- /benches/increment.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/benches/increment.rs -------------------------------------------------------------------------------- /benches/read.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/benches/read.rs -------------------------------------------------------------------------------- /benches/rw.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/benches/rw.rs -------------------------------------------------------------------------------- /benches/set_one.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/benches/set_one.rs -------------------------------------------------------------------------------- /benches/single_threaded_scaling.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/benches/single_threaded_scaling.rs -------------------------------------------------------------------------------- /benches/thread_key.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/benches/thread_key.rs -------------------------------------------------------------------------------- /ci/htm.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/ci/htm.sh -------------------------------------------------------------------------------- /ci/meta.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/ci/meta.sh -------------------------------------------------------------------------------- /ci/rbtree.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/ci/rbtree.sh -------------------------------------------------------------------------------- /ci/swym.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/ci/swym.sh -------------------------------------------------------------------------------- /examples/dining_philosophers.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/examples/dining_philosophers.rs -------------------------------------------------------------------------------- /examples/stack.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/examples/stack.rs -------------------------------------------------------------------------------- /examples/tlock.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/examples/tlock.rs -------------------------------------------------------------------------------- /info/insert.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/info/insert.png -------------------------------------------------------------------------------- /info/lookup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/info/lookup.png -------------------------------------------------------------------------------- /info/rbtree.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/info/rbtree.md -------------------------------------------------------------------------------- /rustfmt.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/rustfmt.toml -------------------------------------------------------------------------------- /src/internal.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/src/internal.rs -------------------------------------------------------------------------------- /src/internal/alloc.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/src/internal/alloc.rs -------------------------------------------------------------------------------- /src/internal/alloc/dyn_vec.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/src/internal/alloc/dyn_vec.rs -------------------------------------------------------------------------------- /src/internal/alloc/fvec.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/src/internal/alloc/fvec.rs -------------------------------------------------------------------------------- /src/internal/bloom.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/src/internal/bloom.rs -------------------------------------------------------------------------------- /src/internal/commit.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/src/internal/commit.rs -------------------------------------------------------------------------------- /src/internal/epoch.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/src/internal/epoch.rs -------------------------------------------------------------------------------- /src/internal/gc.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/src/internal/gc.rs -------------------------------------------------------------------------------- /src/internal/gc/queued.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/src/internal/gc/queued.rs -------------------------------------------------------------------------------- /src/internal/gc/quiesce.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/src/internal/gc/quiesce.rs -------------------------------------------------------------------------------- /src/internal/gc/quiesce/global.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/src/internal/gc/quiesce/global.rs -------------------------------------------------------------------------------- /src/internal/gc/quiesce/synch.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/src/internal/gc/quiesce/synch.rs -------------------------------------------------------------------------------- /src/internal/gc/quiesce/synch_list.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/src/internal/gc/quiesce/synch_list.rs -------------------------------------------------------------------------------- /src/internal/gc/thread_garbage.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/src/internal/gc/thread_garbage.rs -------------------------------------------------------------------------------- /src/internal/optim.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/src/internal/optim.rs -------------------------------------------------------------------------------- /src/internal/parking.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/src/internal/parking.rs -------------------------------------------------------------------------------- /src/internal/phoenix_tls.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/src/internal/phoenix_tls.rs -------------------------------------------------------------------------------- /src/internal/read_log.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/src/internal/read_log.rs -------------------------------------------------------------------------------- /src/internal/starvation.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/src/internal/starvation.rs -------------------------------------------------------------------------------- /src/internal/tcell_erased.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/src/internal/tcell_erased.rs -------------------------------------------------------------------------------- /src/internal/thread.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/src/internal/thread.rs -------------------------------------------------------------------------------- /src/internal/usize_aligned.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/src/internal/usize_aligned.rs -------------------------------------------------------------------------------- /src/internal/write_log.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/src/internal/write_log.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/read.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/src/read.rs -------------------------------------------------------------------------------- /src/rw.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/src/rw.rs -------------------------------------------------------------------------------- /src/stats.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/src/stats.rs -------------------------------------------------------------------------------- /src/stats_list.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/src/stats_list.rs -------------------------------------------------------------------------------- /src/tcell.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/src/tcell.rs -------------------------------------------------------------------------------- /src/thread_key.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/src/thread_key.rs -------------------------------------------------------------------------------- /src/tptr.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/src/tptr.rs -------------------------------------------------------------------------------- /src/tx.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/src/tx.rs -------------------------------------------------------------------------------- /swym-htm/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/swym-htm/Cargo.toml -------------------------------------------------------------------------------- /swym-htm/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/swym-htm/src/lib.rs -------------------------------------------------------------------------------- /swym-htm/src/powerpc64.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/swym-htm/src/powerpc64.rs -------------------------------------------------------------------------------- /swym-htm/src/unsupported.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/swym-htm/src/unsupported.rs -------------------------------------------------------------------------------- /swym-htm/src/x86_64.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/swym-htm/src/x86_64.rs -------------------------------------------------------------------------------- /swym-htm/x.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/swym-htm/x.py -------------------------------------------------------------------------------- /swym-rbtree/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/swym-rbtree/Cargo.toml -------------------------------------------------------------------------------- /swym-rbtree/benches/insert.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/swym-rbtree/benches/insert.rs -------------------------------------------------------------------------------- /swym-rbtree/benches/rbtree.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/swym-rbtree/benches/rbtree.rs -------------------------------------------------------------------------------- /swym-rbtree/src/base.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/swym-rbtree/src/base.rs -------------------------------------------------------------------------------- /swym-rbtree/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/swym-rbtree/src/lib.rs -------------------------------------------------------------------------------- /swym-rbtree/tests/count.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/swym-rbtree/tests/count.rs -------------------------------------------------------------------------------- /swym-rbtree/x.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/swym-rbtree/x.py -------------------------------------------------------------------------------- /tests/memory.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/tests/memory.rs -------------------------------------------------------------------------------- /tests/reentrancy.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/tests/reentrancy.rs -------------------------------------------------------------------------------- /tests/starvation.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/tests/starvation.rs -------------------------------------------------------------------------------- /tests/tls.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/tests/tls.rs -------------------------------------------------------------------------------- /tests/unpark.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/tests/unpark.rs -------------------------------------------------------------------------------- /x.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtak-/swym/HEAD/x.py --------------------------------------------------------------------------------