Home | History | Annotate | Download | only in SharedLibs
      1 #include <stdio.h>
      2 #include <unistd.h>
      3 
      4 void inc_global();
      5 
      6 int slow_init() {
      7   sleep(1);
      8   inc_global();
      9   return 42;
     10 }
     11 
     12 int slowly_init_glob = slow_init();
     13