我在C代码中使用libltdl动态加载libtool创建的共享目标文件。显然,内部为libtool的dlopen版本返回的每个模块句柄保留了一个引用计数。有什么方法可以访问这个引用计数吗?
发布于 2011-04-17 12:52:27
const lt_dlinfo *info;
info = lt_dlgetinfo(myhandle);
printf("refcount is %d\n", info->ref_count);https://stackoverflow.com/questions/5641269
复制相似问题