| 1 | #include <chrono> |
|---|---|
| 2 | #include <thread> |
| 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 |
| 9 | std::this_thread::sleep_for(rtime: std::chrono::seconds(3)); |
| 10 | |
| 11 | return 0; |
| 12 | } |
| 13 |
