rust/tests/run-pass/concurrency
bors d473242ecd Auto merge of #1617 - JCTyblaidd:data_race_detector, r=RalfJung
Add simple data-race detector

Partially fixes data-race detection, see #1372, based on Dynamic Race Detection for C++11

- This does not explore weak memory behaviour, only exploring one sequentially consistent ordering.
- Data-race detection is only enabled after the first thread is created, so should have minimal overhead for non-concurrent execution.
- ~~Does not attempt to re-use thread id's so creating and joining threads lots of time in an execution will result in the vector clocks growing in size and slowing down program execution~~ It does now
2020-11-29 18:44:28 +00:00
..
data_race.rs Fix review changes 2020-11-22 17:28:12 +00:00
data_race.stderr Apply review changes, incrementing the clocks twice is an unnecessary hold-over from earlier versions so fixed. 2020-11-27 19:26:06 +00:00
disable_data_race_detector.rs Apply review changes, incrementing the clocks twice is an unnecessary hold-over from earlier versions so fixed. 2020-11-27 19:26:06 +00:00
disable_data_race_detector.stderr Apply review changes, incrementing the clocks twice is an unnecessary hold-over from earlier versions so fixed. 2020-11-27 19:26:06 +00:00
libc_pthread_cond.rs Review comments 2020-09-07 10:54:39 -05:00
linux-futex.rs rustup; less strict timing tests 2020-11-12 16:50:24 +01:00
linux-futex.stderr Apply review changes, incrementing the clocks twice is an unnecessary hold-over from earlier versions so fixed. 2020-11-27 19:26:06 +00:00
simple.rs also test panic from thread with name 2020-05-03 12:51:48 +02:00
simple.stderr Apply review changes, incrementing the clocks twice is an unnecessary hold-over from earlier versions so fixed. 2020-11-27 19:26:06 +00:00
sync_singlethread.rs rustup and update test 2020-11-10 16:47:56 +01:00
sync.rs increase timeout to avoid spurious test failures 2020-10-30 18:59:58 +01:00
sync.stderr Apply review changes, incrementing the clocks twice is an unnecessary hold-over from earlier versions so fixed. 2020-11-27 19:26:06 +00:00
sync.stdout Move all run-pass synchronization primitive tests to sync.rs. 2020-05-25 00:02:54 +02:00
thread_locals.rs Improve concurrency tests. 2020-04-27 14:26:36 -07:00
thread_locals.stderr Apply review changes, incrementing the clocks twice is an unnecessary hold-over from earlier versions so fixed. 2020-11-27 19:26:06 +00:00
tls_lib_drop_single_thread.rs Unify TLS dtors; move stepping outside. 2020-04-27 14:26:36 -07:00
tls_lib_drop_single_thread.stderr Unify TLS dtors; move stepping outside. 2020-04-27 14:26:36 -07:00
tls_lib_drop.rs fix and test order of TLS dtors and thread joining 2020-07-27 23:32:15 +02:00
tls_lib_drop.stderr Apply review changes, incrementing the clocks twice is an unnecessary hold-over from earlier versions so fixed. 2020-11-27 19:26:06 +00:00
tls_lib_drop.stdout fix and test order of TLS dtors and thread joining 2020-07-27 23:32:15 +02:00