source: tests/concurrency/waitfor/gendestructor.cfa

stuck-waitfor-destruct
Last change on this file was 6018ddb, checked in by Matthew Au-Yeung <mw2auyeu@…>, 33 hours ago

Revert "cleanup and add tests"

This reverts commit a56d544a48fa37aa9352321253b32a7ddc0159c7.

  • Property mode set to 100644
File size: 130 bytes
Line 
1#include "gendestructor.hfa"
2
3#include <fstream.hfa>
4
5void main(MyThread &t) {
6 waitfor(^?{} : t);
7 sout | "Destructor called";
8}
Note: See TracBrowser for help on using the repository browser.