diff options
| author | Eric Holk <eholk@mozilla.com> | 2011-07-06 11:49:52 -0700 |
|---|---|---|
| committer | Eric Holk <eholk@mozilla.com> | 2011-07-06 11:50:25 -0700 |
| commit | 111989a6265af86b180932a9c1dd70d48910f83a (patch) | |
| tree | e3a89c155ecc2058e0dbe4c2649deb055f289844 /src/rt/sync/sync.cpp | |
| parent | 066bcc6c79cb464b5a91ab30293d98e3ec2dbcca (diff) | |
| download | rust-111989a6265af86b180932a9c1dd70d48910f83a.tar.gz rust-111989a6265af86b180932a9c1dd70d48910f83a.zip | |
Removed what seems to be the last of the calls to rand(). Closes #582.
Diffstat (limited to 'src/rt/sync/sync.cpp')
| -rw-r--r-- | src/rt/sync/sync.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/rt/sync/sync.cpp b/src/rt/sync/sync.cpp index be874a115f0..02da438b4f3 100644 --- a/src/rt/sync/sync.cpp +++ b/src/rt/sync/sync.cpp @@ -19,10 +19,6 @@ void sync::sleep(size_t timeout_in_ms) { #endif } -void sync::random_sleep(size_t max_timeout_in_ms) { - sleep(rand() % max_timeout_in_ms); -} - rust_thread::rust_thread() : _is_running(false), thread(0) { // Nop. } |
