Changeset 650 for trunk/lib/generic_llsc_global_table
- Timestamp:
- Mar 3, 2014, 11:13:45 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/generic_llsc_global_table/include/generic_llsc_global_table.h
r527 r650 34 34 #include <iomanip> 35 35 #include <stdint.h> 36 37 #define RESERVATION_LIFE_SPAN 1 36 38 37 39 namespace soclib … … 348 350 if (pos >= 0) 349 351 { 352 #if RESERVATION_LIFE_SPAN == 0 353 return r_key[pos]; 354 #else 350 355 uint32_t absdiff = ( r_key[pos] > r_next_key) ? 351 356 r_key[pos] - r_next_key : … … 359 364 360 365 return r_key[pos]; 366 #endif 361 367 } 362 368
Note: See TracChangeset
for help on using the changeset viewer.