本文介绍了dlopen卡住问题无限循环问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的文件中使用dlopen。我想知道共享对象的依赖关系是什么以及如何继续。在运行时加载共享对象它不会被加载它将无限循环。如何退出。





printf(正在加载.so file \ n);

handle = dlopen(filenaem,RTLD_NOW | RTLD_GLOBAL);

printf(Loaded\ n); -----------------------------------> ;这是没有得到执行上面的dlopen进入无限循环如何退出该循环

I am using a dlopen in my file. I want to know what are the dependencies for shared object and how to proceed.while loading the shared object in runtime it doesnt get loaded it is going to infinite loop .how to exit from that.


printf("Loading .so file\n");
handle = dlopen(filenaem,RTLD_NOW|RTLD_GLOBAL);
printf("Loaded\n");----------------------------------->this is not getting executed the above dlopen goes to infinite loop how to exit from that loop

推荐答案


这篇关于dlopen卡住问题无限循环问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-10 20:58