Ignore:
Timestamp:
Apr 4, 2019, 5:28:47 PM (3 years ago)
Author:
tdelisle <tdelisle@…>
Branches:
arm-eh, cleanup-dtors, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr
Children:
211228e0
Parents:
b2f6113
Message:

UserStack? flag on coroutines is now folded into the storage pointer

File:
1 edited

Legend:

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

    rb2f6113 r8c01e1b  
    9494        context.errno_ = 0;
    9595        stack.storage = info->storage;
    96         stack.userStack = true;
    9796        with(*stack.storage) {
    9897                size      = info->size;
     
    10099                base      = info->base;
    101100        }
     101        *((intptr_t*)&stack.storage) |= 0x1;
    102102        name = "Main Thread";
    103103        state = Start;
Note: See TracChangeset for help on using the changeset viewer.