]> git.lizzy.rs Git - rust.git/commit
Fix a deadlock in a libgreen test
authorAlex Crichton <alex@alexcrichton.com>
Mon, 30 Dec 2013 01:34:15 +0000 (17:34 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Mon, 30 Dec 2013 01:34:15 +0000 (17:34 -0800)
commitb27c53b15f820a3dd8fdab455f3f7f2b1d4ac9c5
treed9c5c56ede68cf8405a51f9bf4ae32cc86269272
parentc0d4abf8c5d368fb6861fb015c82811e94b7566b
Fix a deadlock in a libgreen test

Turns out when you grab an OS mutex, you need to be careful about when and where
things are scheduled!
src/libgreen/sched.rs