Changeset 5614552a for libcfa/src
- Timestamp:
- Jun 21, 2021, 3:41:43 PM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 953827a
- Parents:
- ef94ae7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/ready_queue.cfa
ref94ae7 r5614552a 287 287 /* paranoid */ verify(map.start * READYQ_SHARD_FACTOR < lanes.count); 288 288 /* paranoid */ verify(map.self * READYQ_SHARD_FACTOR < lanes.count); 289 /* paranoid */ verifyf((map.start + map.count) * READYQ_SHARD_FACTOR <= lanes.count, "have % u lanes but map can go up to %u", lanes.count, (map.start + map.count) * READYQ_SHARD_FACTOR);289 /* paranoid */ verifyf((map.start + map.count) * READYQ_SHARD_FACTOR <= lanes.count, "have %zu lanes but map can go up to %u", lanes.count, (map.start + map.count) * READYQ_SHARD_FACTOR); 290 290 291 291 const int start = map.self * READYQ_SHARD_FACTOR; … … 327 327 /* paranoid */ verify(map.start * READYQ_SHARD_FACTOR < lanes.count); 328 328 /* paranoid */ verify(map.self * READYQ_SHARD_FACTOR < lanes.count); 329 /* paranoid */ verifyf((map.start + map.count) * READYQ_SHARD_FACTOR <= lanes.count, "have % u lanes but map can go up to %u", lanes.count, (map.start + map.count) * READYQ_SHARD_FACTOR);329 /* paranoid */ verifyf((map.start + map.count) * READYQ_SHARD_FACTOR <= lanes.count, "have %zu lanes but map can go up to %u", lanes.count, (map.start + map.count) * READYQ_SHARD_FACTOR); 330 330 331 331 processor * const proc = kernelTLS().this_processor;
Note: See TracChangeset
for help on using the changeset viewer.