]> git.lizzy.rs Git - rust.git/commit
auto merge of #8327 : sstewartgallus/rust/factor_out_waitqueue, r=bblum
authorbors <bors@rust-lang.org>
Sat, 10 Aug 2013 14:47:14 +0000 (07:47 -0700)
committerbors <bors@rust-lang.org>
Sat, 10 Aug 2013 14:47:14 +0000 (07:47 -0700)
commit2ba36ec62934c8b877766a6283633b6407c8d357
tree04185bd1ac2556cb5d97e87667164e28435d259a
parente70aac572ac9dd6e1b8f7f434e77c602c1fa0d0e
parent1e576a35eb7e1eeb2c4a2d0c03955490337891c1
auto merge of #8327 : sstewartgallus/rust/factor_out_waitqueue, r=bblum

I'm a bit disappointed that I couldn't figure out how to factor out more of the code implementing `extra::sync` but I feel this is an okay start. Also I added some documentation explaining that `WaitQueue` isn't thread safe, and needs an exclusive lock.

@bblum
src/libextra/sync.rs