Changeset 26fd986 for benchmark/schedint/rust.rs
- Timestamp:
- Jan 21, 2020, 6:14:34 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 5518719
- Parents:
- c12869e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
benchmark/schedint/rust.rs
rc12869e 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.