]>
git.saurik.com Git - apple/dyld.git/blob - testing/test-cases/dyld_process_info_unload.dtest/target.c
10 int main(int argc
, const char* argv
[])
12 //fprintf(stderr, "target starting\n");
14 // load and unload in a loop
15 for (int i
=1; i
< 10000; ++i
) {
16 void* h
= dlopen("./libfoo.dylib", 0);
17 usleep(100000/(i
*100));
20 //fprintf(stderr, "target done\n");