Zachary Turner | d1c5b6f | 2015-08-25 22:25:21 +0000 | [diff] [blame] | 1 | #include <chrono> |
2 | #include <thread> | ||||
Pavel Labath | 2f47493 | 2015-06-17 23:28:55 +0000 | [diff] [blame] | 3 | |
4 | volatile int release_flag = 0; | ||||
5 | |||||
6 | int main(int argc, char const *argv[]) | ||||
7 | { | ||||
8 | while (! release_flag) // Wait for debugger to attach | ||||
Zachary Turner | d1c5b6f | 2015-08-25 22:25:21 +0000 | [diff] [blame] | 9 | std::this_thread::sleep_for(std::chrono::seconds(3)); |
Pavel Labath | 2f47493 | 2015-06-17 23:28:55 +0000 | [diff] [blame] | 10 | |
11 | return 0; | ||||
12 | } |