xref: /llvm-project/lldb/test/API/commands/expression/expr-in-syscall/main.cpp (revision 99451b4453688a94c6014cac233d371ab4cc342d)
1 #include <chrono>
2 #include <thread>
3 
4 volatile int release_flag = 0;
5 
main(int argc,char const * argv[])6 int main(int argc, char const *argv[])
7 {
8     while (! release_flag) // Wait for debugger to attach
9         std::this_thread::sleep_for(std::chrono::seconds(3));
10 
11     return 0;
12 }
13