Ignore:
Timestamp:
Sep 14, 2021, 12:47:47 PM (3 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, enum, forall-pointer-decay, master, pthread-emulation, qualifiedEnum
Children:
a3769cc, fdfb0ba
Parents:
72bd9cd
Message:

Minor fixes to warnings, printing and ridiculous go/rust requirements.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • benchmark/readyQ/transfer.rs

    r72bd9cd rebb6158  
    44use std::process;
    55use std::option;
     6use std::hint;
    67use std::sync::Arc;
    78use std::sync::atomic::{AtomicUsize, Ordering};
     
    104105                debug!( "Waiting for :{} ({})", t.id, t.idx.load(Ordering::Relaxed) );
    105106                while t.idx.load(Ordering::Relaxed) != idx {
    106                         std::sync::atomic::spin_loop_hint();
     107                        hint::spin_loop();
    107108                        if start.elapsed() > Duration::from_secs(5) {
    108109                                eprintln!("Programs has been blocked for more than 5 secs");
Note: See TracChangeset for help on using the changeset viewer.