about summary refs log tree commit diff
path: root/src/rt/sync/rust_thread.cpp
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2013-10-12 02:15:22 +1100
committerHuon Wilson <dbau.pp+github@gmail.com>2013-10-23 10:40:06 +1100
commit0bba73c0d156df8f22c64ef4f4c50910fe31cf31 (patch)
tree3a0b98b2985fdf4b4717aecab31464718d7dc162 /src/rt/sync/rust_thread.cpp
parent83aa1abb19ee290655ed03053e26cdb2662242c4 (diff)
downloadrust-0bba73c0d156df8f22c64ef4f4c50910fe31cf31.tar.gz
rust-0bba73c0d156df8f22c64ef4f4c50910fe31cf31.zip
std::rand: move Weighted to distributions.
A user constructs the WeightedChoice distribution and then samples from
it, which allows it to use binary search internally.
Diffstat (limited to 'src/rt/sync/rust_thread.cpp')
0 files changed, 0 insertions, 0 deletions