Ignore:
Timestamp:
Jul 11, 2023, 2:27:58 PM (10 months ago)
Author:
caparsons <caparson@…>
Branches:
master
Children:
bbecdd4
Parents:
4c8ce47
Message:

fixed spurious channel close waituntil error case. Was caused by a race condition causing an exception to be thrown while another was in flight

File:
1 edited

Legend:

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

    r4c8ce47 rb93bf85  
    255255        #ifdef __cforall
    256256        extern "Cforall" {
     257        static inline bool exception_in_flight() {
     258            return __get_stack( &active_thread()->self_cor )->exception_context.current_exception != 0p;
     259        }
     260
    257261                static inline thread$ * volatile & ?`next ( thread$ * this ) {
    258262                        return this->user_link.next;
Note: See TracChangeset for help on using the changeset viewer.