Changeset 7e8c071 for tests/concurrency/waitfor/static_inline.cfa
- Timestamp:
- Feb 14, 2026, 11:06:29 PM (5 days ago)
- Branches:
- stuck-waitfor-destruct
- Parents:
- a56d544
- File:
-
- 1 edited
-
tests/concurrency/waitfor/static_inline.cfa (modified) (1 diff)
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" 19 2 20 3 int main() {
Note:
See TracChangeset
for help on using the changeset viewer.