Changes in / [b680198:929d925]
- Location:
- libcfa/src/concurrency
- Files:
-
- 2 edited
-
locks.hfa (modified) (1 diff)
-
ready_queue.cfa (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/locks.hfa
rb680198 r929d925 174 174 }; 175 175 176 static inline void ?{}(fast_lock & this) { this.owner = 0p; }177 178 176 static inline bool $try_lock(fast_lock & this, $thread * thrd) { 179 177 $thread * exp = 0p; -
libcfa/src/concurrency/ready_queue.cfa
rb680198 r929d925 20 20 21 21 22 #define USE_RELAXED_FIFO22 // #define USE_RELAXED_FIFO 23 23 // #define USE_WORK_STEALING 24 //#define USE_CPU_WORK_STEALING24 #define USE_CPU_WORK_STEALING 25 25 26 26 #include "bits/defs.hfa" … … 760 760 for(i; lanes.count) { 761 761 unsigned long long tsc1 = ts(lanes.data[i]); 762 unsigned long long tsc2 = rdtscl() ;762 unsigned long long tsc2 = rdtscl() 763 763 lanes.tscs[i].tv = min(tsc1, tsc2); 764 764 }
Note:
See TracChangeset
for help on using the changeset viewer.