Date: Sat, 19 Oct 2024 21:34:14 -0700
On Saturday 19 October 2024 10:25:03 GMT-7 Federico Kircheis via Std-
Discussion wrote:
> Or dlopen, loadlibrary,... Which are just functions; outside of the
> standard, like the rest of dynamic linking
>
> No need for attributes, assembly, or other compiler extensions, or strange
> constructs. Global variables are problematic in shared libraries, that's
> it.
dlopen with the default options does not affect this. Global variables are
still global and unique.
Discussion wrote:
> Or dlopen, loadlibrary,... Which are just functions; outside of the
> standard, like the rest of dynamic linking
>
> No need for attributes, assembly, or other compiler extensions, or strange
> constructs. Global variables are problematic in shared libraries, that's
> it.
dlopen with the default options does not affect this. Global variables are
still global and unique.
-- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Principal Engineer - Intel DCAI Platform & System Engineering
Received on 2024-10-20 04:34:17