Ignore:
Timestamp:
Jun 16, 2020, 3:32:00 PM (16 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast, new-ast-unique-expr
Children:
04b5cef
Parents:
2073d20
Message:

Minor improvements to alignments and memory layout

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/invoke.h

    r2073d20 r37ba662  
    182182                //SKULLDUGGERY errno is not save in the thread data structure because returnToKernel appears to be the only function to require saving and restoring it
    183183
    184                 // coroutine body used to store context
    185                 struct $coroutine  self_cor;
    186 
    187                 // current active context
    188                 struct $coroutine * curr_cor;
    189 
    190                 // monitor body used for mutual exclusion
    191                 struct $monitor    self_mon;
    192 
    193                 // pointer to monitor with sufficient lifetime for current monitors
    194                 struct $monitor *  self_mon_p;
    195 
    196184                // pointer to the cluster on which the thread is running
    197185                struct cluster * curr_cluster;
    198 
    199                 // monitors currently held by this thread
    200                 struct __monitor_group_t monitors;
    201186
    202187                // Link lists fields
    203188                // instrusive link field for threads
    204189                struct __thread_desc_link link;
     190
     191                // coroutine body used to store context
     192                struct $coroutine  self_cor;
     193
     194                // current active context
     195                struct $coroutine * curr_cor;
     196
     197                // monitor body used for mutual exclusion
     198                struct $monitor    self_mon;
     199
     200                // pointer to monitor with sufficient lifetime for current monitors
     201                struct $monitor *  self_mon_p;
     202
     203                // monitors currently held by this thread
     204                struct __monitor_group_t monitors;
    205205
    206206                struct {
Note: See TracChangeset for help on using the changeset viewer.