Changes in benchmark/schedint/rust.rs [b4107c8:26fd986]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
benchmark/schedint/rust.rs
rb4107c8 r26fd986 18 18 19 19 let th = thread::spawn( move || { 20 while *m2.lock().unwrap() == 0 { 20 while *m2.lock().unwrap() == 0 { // waiter must start first 21 21 thread::yield_now(); 22 22 }
Note: See TracChangeset
for help on using the changeset viewer.