开发者

Access to libltdl's module reference count

I'm using libltdl in my C code to dynamically load libtool made shared object files. Apparently a reference count is i开发者_JS百科nternally kept for each module handle returned by libtool's version of dlopen. Is there any way to access this reference count?


const lt_dlinfo *info;
info = lt_dlgetinfo(myhandle);
printf("refcount is %d\n", info->ref_count);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜