Prefer https link for wikipedia URLs
This commit is contained in:
parent
d5abc8d3b2
commit
2c995d29f7
8 changed files with 12 additions and 12 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue