Ignore:
Timestamp:
Apr 11, 2019, 10:36:13 AM (3 years ago)
Author:
tdelisle <tdelisle@…>
Branches:
arm-eh, cleanup-dtors, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr
Children:
3c06bba
Parents:
e8e457e
Message:

Fixed errno virtualization and enabled preemption during coroutine context switch

File:
1 edited

Legend:

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

    re8e457e r5c1a531  
    6565                void * SP;
    6666                void * FP;
    67                 // copy of global UNIX variable errno
    68                 int errno_;
    6967        };
    7068
     
    168166                // current execution status for coroutine
    169167                enum coroutine_state state;
     168
     169                //SKULLDUGGERY errno is not save in the thread data structure because returnToKernel appears to be the only function to require saving and restoring it
    170170
    171171                // coroutine body used to store context
Note: See TracChangeset for help on using the changeset viewer.