Ignore:
Timestamp:
Feb 7, 2026, 1:40:26 PM (3 days ago)
Author:
Matthew Au-Yeung <mw2auyeu@…>
Branches:
stuck-waitfor-destruct
Parents:
c7d106a
git-author:
Matthew Au-Yeung <mw2auyeu@…> (02/07/26 13:40:05)
git-committer:
Matthew Au-Yeung <mw2auyeu@…> (02/07/26 13:40:26)
Message:

Add a generated hash to fix stuck waitfor comparing static inline mutex destructors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/thread.hfa

    rc7d106a ra9ce782  
    8383struct thread_dtor_guard_t {
    8484        monitor_dtor_guard_t mg;
     85        func_id_t func_id;
    8586};
    8687
    8788forall( T & | is_thread(T) | IS_EXCEPTION(ThreadCancelled(T))
    8889        | { EHM_DEFAULT_VTABLE(ThreadCancelled(T)); })
    89 void ?{}( thread_dtor_guard_t & this, T & thrd, void(*)(ThreadCancelled(T) &) );
     90void ?{}( thread_dtor_guard_t & this, T & thrd, func_id_t func_id, void(*)(ThreadCancelled(T) &) );
    9091void ^?{}( thread_dtor_guard_t & this );
    9192
Note: See TracChangeset for help on using the changeset viewer.