Ignore:
Timestamp:
Sep 1, 2023, 3:54:35 PM (11 months ago)
Author:
caparsons <caparson@…>
Branches:
master
Children:
8a9a3ab
Parents:
7e1dbd7
Message:

fixed unhandled exception bug causing deleted memory to be accessed sometimes with full coroutines

File:
1 edited

Legend:

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

    r7e1dbd7 r4269d1b  
    344344bool poll() libcfa_public { return poll( active_coroutine() ); }
    345345coroutine$ * resumer() libcfa_public { return active_coroutine()->last; }
     346coroutine$ * first_resumer() libcfa_public { return active_coroutine()->starter; }
    346347
    347348// user facing ehm operations
     
    358359
    359360    coroutine$ * resumer( T & cor ) libcfa_public { return get_coroutine( cor )->last; }
     361    coroutine$ * first_resumer( T & cor ) libcfa_public { return get_coroutine( cor )->starter; }
    360362}
    361363
Note: See TracChangeset for help on using the changeset viewer.