diff options
Diffstat (limited to 'src/libextra')
| -rw-r--r-- | src/libextra/sync.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libextra/sync.rs b/src/libextra/sync.rs index 56168f923ad..3908b61381b 100644 --- a/src/libextra/sync.rs +++ b/src/libextra/sync.rs @@ -381,7 +381,7 @@ impl Sem<~[Waitqueue]> { // The only other places that condvars get built are rwlock.write_cond() // and rwlock_write_mode. pub fn access_cond<U>(&self, blk: &fn(c: &Condvar) -> U) -> U { - do self.access { + do self.access_waitqueue { blk(&Condvar { sem: self, order: Nothing }) } } |
