Ignore:
Timestamp:
Jul 28, 2022, 11:59:02 AM (2 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, master, pthread-emulation
Children:
c4c8571
Parents:
13d326ec
Message:

Small improvements to some of the alignment requirements in CFA runtime.

Location:
libcfa/src/concurrency/io
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/io/setup.cfa

    r13d326ec r2af1943  
    346346        }
    347347
    348         void ^?{}( $io_arbiter & this ) {}
     348        void ^?{}( $io_arbiter & mutex this ) {}
    349349
    350350        $io_arbiter * create(void) {
  • libcfa/src/concurrency/io/types.hfa

    r13d326ec r2af1943  
    125125
    126126
    127         struct __attribute__((aligned(128))) $io_context {
     127        struct __attribute__((aligned(64))) $io_context {
    128128                $io_arbiter * arbiter;
    129129                processor * proc;
     
    153153        };
    154154
    155         struct __attribute__((aligned(128))) $io_arbiter {
     155        monitor __attribute__((aligned(64))) $io_arbiter {
    156156                __outstanding_io_queue pending;
    157157        };
Note: See TracChangeset for help on using the changeset viewer.