Add InterruptibleThread unit test

This commit is contained in:
Vinnie Falco
2013-09-19 14:35:01 -07:00
parent 68cf7599d8
commit 7b1352d9c5
3 changed files with 81 additions and 0 deletions

View File

@@ -259,10 +259,12 @@ public:
}
#endif
#if 1
for (int i = 0; i < threads.size(); ++i)
threads[i]->stop (false);
for (int i = 0; i < threads.size(); ++i)
threads[i]->stop (true);
#endif
pass ();
}