diff options
| author | Lzu Tao <taolzu@gmail.com> | 2020-08-23 10:02:42 +0000 |
|---|---|---|
| committer | Lzu Tao <taolzu@gmail.com> | 2020-08-23 10:02:42 +0000 |
| commit | 2c995d29f72c0d295ecddd6315520f8abf1ab8f8 (patch) | |
| tree | 45ab0f97e9f056aef8e9cff95f399f747e2bca46 /library/std/src/sync | |
| parent | d5abc8d3b2e14c8793182b427520497a90b6de83 (diff) | |
| download | rust-2c995d29f72c0d295ecddd6315520f8abf1ab8f8.tar.gz rust-2c995d29f72c0d295ecddd6315520f8abf1ab8f8.zip | |
Prefer https link for wikipedia URLs
Diffstat (limited to 'library/std/src/sync')
| -rw-r--r-- | library/std/src/sync/barrier.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sync/barrier.rs b/library/std/src/sync/barrier.rs index 01314370ce3..23c989fd2fd 100644 --- a/library/std/src/sync/barrier.rs +++ b/library/std/src/sync/barrier.rs @@ -131,7 +131,7 @@ impl Barrier { lock.count += 1; if lock.count < self.num_threads { // We need a while loop to guard against spurious wakeups. - // http://en.wikipedia.org/wiki/Spurious_wakeup + // https://en.wikipedia.org/wiki/Spurious_wakeup while local_gen == lock.generation_id && lock.count < self.num_threads { lock = self.cvar.wait(lock).unwrap(); } |
