Ignore:
Timestamp:
Feb 14, 2026, 10:38:00 PM (3 days ago)
Author:
Matthew Au-Yeung <mw2auyeu@…>
Branches:
stuck-waitfor-destruct
Children:
a56d544
Parents:
bbcc492
git-author:
Matthew Au-Yeung <mw2auyeu@…> (02/07/26 13:40:05)
git-committer:
Matthew Au-Yeung <mw2auyeu@…> (02/14/26 22:38:00)
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

    rbbcc492 rc9d36b1  
    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.