• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include <stdio.h>
2 #include <unistd.h>
3 #include <string.h>
4 
5 void
call_me()6 call_me()
7 {
8   sleep(1);
9 }
10 
11 int
main(int argc,char ** argv)12 main (int argc, char **argv)
13 {
14   printf ("Hello there!\n"); // Set break point at this line.
15   if (argc == 2 && strcmp(argv[1], "keep_waiting") == 0)
16     while (1)
17       {
18         call_me();
19       }
20   return 0;
21 }
22