Re: [osv-dev] dlopen() and program::add_object() on github

2020-11-12 Thread zero
Thank you very much for your patient answer, it is really helpful! I will do some testing and learning next, thanks again. Best regards! Nadav Har'El 于2020年11月9日周一 下午7:53写道: > On Thu, Nov 5, 2020 at 2:23 PM zero wrote: > >> If step 3 were to *really* unload A, how would B's code, which is stil

Re: [osv-dev] dlopen() and program::add_object() on github

2020-11-09 Thread Nadav Har'El
On Thu, Nov 5, 2020 at 2:23 PM zero wrote: > If step 3 were to *really* unload A, how would B's code, which is still >> loaded and may be using symbols from A, continue to work? > > > Yes step 3 will not unload A, and A is still in memory, when dlopen(A) > again, it will return a handle, and will

Re: [osv-dev] dlopen() and program::add_object() on github

2020-11-05 Thread Nadav Har'El
On Wed, Nov 4, 2020 at 11:33 AM zero wrote: > Hi all, > > The issue is on github link > > > Then we continue the discuss. > > But I don't understand the "implicit" dependence you mention... It seems >> you mean that for some reason your applicat

[osv-dev] dlopen() and program::add_object() on github

2020-11-04 Thread zero
Hi all, The issue is on github link Then we continue the discuss. But I don't understand the "implicit" dependence you mention... It seems > you mean that for some reason your application wants to know when or > whether B is loaded Actually,