Ignore:
Timestamp:
Feb 14, 2026, 11:06:29 PM (5 days ago)
Author:
Matthew Au-Yeung <mw2auyeu@…>
Branches:
stuck-waitfor-destruct
Parents:
a56d544
Message:

fixup tests more

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/concurrency/waitfor/static_inline.cfa

    ra56d544 r7e8c071  
    1 #include <fstream.hfa>
    2 #include <thread.hfa>
    3 
    4 thread Cleaner {};
    5 
    6 static inline void ^?{} ( Cleaner &mutex this ) {}
    7 
    8 static inline void cleanup( Cleaner &mutex this ) {}
    9 
    10 void main( Cleaner & this ) {
    11         waitfor( cleanup : this ) {
    12                 sout | "Cleaning";
    13         }
    14 
    15         waitfor( ^?{} : this ) {
    16                 sout | "Done";
    17         }
    18 }
     1#include "inlinemutex.hfa"
    192
    203int main() {
Note: See TracChangeset for help on using the changeset viewer.