Re: [linux-audio-dev] Static class data and dlopen()

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] Static class data and dlopen()
From: Alfons Adriaensen (fons.adriaensen_AT_alcatel.be)
Date: Tue May 20 2003 - 11:21:54 EEST


On Mon, May 19, 2003 at 06:50:50PM +0200, Clemens Ladisch wrote:

> > This is what I expected, but it may shock C++ purists, ...
>
> The C++ Standard doesn't mention dynamic linking, therefore any result
> whatsoever would conform to the standard. (It's "undefined behaviour", so
> C++ purists would expect nasal demons ... ;-)

:-) :-)

> It should be possible to have one copy of the static data by storing S's
> static data into a common s.so which is linked to by the other two .so's.

Yes, that would do the trick. Not that the double instantiation is a problem,
in fact it suits me very well.

Thanks for your reply !

FA


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Tue May 20 2003 - 11:27:25 EEST