Ignore:
Timestamp:
Feb 7, 2026, 1:40:26 PM (21 hours 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
  • src/Concurrency/Waitfor.cpp

    rc7d106a ra9ce782  
    2222#include "InitTweak/InitTweak.hpp"
    2323#include "ResolvExpr/Resolver.hpp"
     24#include "Concurrency/MutexFuncHash.hpp"
    2425
    2526#include "AST/Print.hpp"
     
    331332                makeAccStmt( location, acceptables, index, "func",
    332333                        funcExpr, context ),
     334                makeAccStmt( location, acceptables, index, "func_id",
     335                        Concurrency::hashMangleExpr( location,
     336                                variableExpr->var.strict_as<ast::DeclWithType>() ),
     337                        context ),
    333338                makeAccStmt( location, acceptables, index, "data",
    334339                        new ast::VariableExpr( location, monitors ), context ),
Note: See TracChangeset for help on using the changeset viewer.