Changeset 2b3ebe5 for tests/concurrency/waitfor/static_inline.cfa
- Timestamp:
- Feb 25, 2026, 12:52:06 AM (33 hours ago)
- Branches:
- stuck-waitfor-destruct
- Children:
- 6018ddb
- Parents:
- f1cb193
- git-author:
- Matthew Au-Yeung <mw2auyeu@…> (02/14/26 23:06:29)
- git-committer:
- Matthew Au-Yeung <mw2auyeu@…> (02/25/26 00:52:06)
- File:
-
- 1 edited
-
tests/concurrency/waitfor/static_inline.cfa (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tests/concurrency/waitfor/static_inline.cfa
rf1cb193 r2b3ebe5 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.