1
Fork 0

Prefer https link for wikipedia URLs

This commit is contained in:
Lzu Tao 2020-08-23 10:02:42 +00:00
parent d5abc8d3b2
commit 2c995d29f7
8 changed files with 12 additions and 12 deletions

View file

@ -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();
}