Ignore:
Timestamp:
Mar 27, 2020, 12:05:49 PM (19 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast, new-ast-unique-expr
Children:
f0ce5f4
Parents:
68887f9
Message:

Fixed incorrect setting of ready state and added result to previous park information

File:
1 edited

Legend:

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

    r68887f9 rae7be7a  
    9292        };
    9393
    94         enum coroutine_state { Halted, Start, Primed, Inactive, Active, Rerun };
     94        enum coroutine_state { Halted, Start, Primed, Blocked, Ready, Active, Rerun };
    9595        enum __Preemption_Reason { __NO_PREEMPTION, __ALARM_PREEMPTION, __POLL_PREEMPTION, __MANUAL_PREEMPTION };
    9696
     
    201201                #ifdef __CFA_DEBUG__
    202202                        // previous function to park/unpark the thread
    203                         const char * prev_park;
     203                        const char * park_caller;
     204                        enum coroutine_state park_result;
    204205                        bool park_stale;
    205                         const char * prev_unpark;
     206                        const char * unpark_caller;
     207                        enum coroutine_state unpark_result;
    206208                        bool unpark_stale;
    207209                #endif
Note: See TracChangeset for help on using the changeset viewer.