[linux-audio-dev] Static class data and dlopen()
fons.adriaensen at alcatel.be
Tue May 20 04:34:00 UTC 2003
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 !
More information about the Linux-audio-dev