Ignore:
Timestamp:
Jun 16, 2020, 3:32:00 PM (4 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
04b5cef
Parents:
2073d207
Message:

Minor improvements to alignments and memory layout

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/ready_queue.cfa

    r2073d207 r37ba662  
    120120        // Return new spot.
    121121        /*paranoid*/ verify(n < ready);
    122         /*paranoid*/ verify(__alignof__(data[n]) == cache_line_size);
     122        /*paranoid*/ verify(__alignof__(data[n]) == (2 * cache_line_size));
    123123        /*paranoid*/ verify((((uintptr_t)&data[n]) % cache_line_size) == 0);
    124124        return n;
Note: See TracChangeset for help on using the changeset viewer.