about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-12-14 18:56:19 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-12-14 18:58:13 -0800
commit0d38cae0b9e23f1557ce96fd7a9677f1040fab54 (patch)
tree3d8d9dea6d13163f8e02bff235f60d381a60f821 /src/rustllvm/RustWrapper.cpp
parent126db549b038c84269a1e4fe46f051b2c15d6970 (diff)
downloadrust-0d38cae0b9e23f1557ce96fd7a9677f1040fab54.tar.gz
rust-0d38cae0b9e23f1557ce96fd7a9677f1040fab54.zip
std: Bind port early to make a test more reliable
This test would read with a timeout and then send a UDP message, expecting the
message to be received. The receiving port, however, was bound in the child
thread so it could be the case that the timeout and send happens before the
child thread runs. To remedy this we just bind the port before the child thread
runs, moving it into the child later on.

cc #19120
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions