about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorSeo Sanghyeon <sanxiyn@gmail.com>2016-08-02 00:12:40 +0900
committerGitHub <noreply@github.com>2016-08-02 00:12:40 +0900
commita790fbce23e823cde291d2c7452efdb7609303bb (patch)
treeabdbdce983bf62ca6a983951594cb0dcbb5b2bb9 /src/libstd/sys/unix/stack_overflow.rs
parent2effa8982e5b09351ed93a132a5b0962245ea68a (diff)
parent3ea293ddf2af66c9a2e720ce3139aed75787d890 (diff)
downloadrust-a790fbce23e823cde291d2c7452efdb7609303bb.tar.gz
rust-a790fbce23e823cde291d2c7452efdb7609303bb.zip
Rollup merge of #35140 - the-kenny:tcp-stress-test-const-thread-count, r=alexcrichton
tcp-stress-test: Pull out thread count as a constant

This PR factors out the number of concurrent threads used in `tcp-stress-test.rs` to a constant at the top of the file.

We at @NixOS had to lower our thread count as the chrooted-builds don't allow that many threads.

This change will make it easier to lower/increase the count in the future (I actually forgot to change the second `1000` when I was working on this). Another benefit is the removal of magic numbers in the test suite.

This is related to https://github.com/rust-lang/rust/issues/35107
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions