About dlclose in rtl

Chris Johns chrisj at rtems.org
Tue Jun 6 09:06:38 UTC 2017



> On 6 Jun 2017, at 5:11 pm, "xuelin.tian at qkmtech.com" <xuelin.tian at qkmtech.com> wrote:
> 
> Sure, this makes sense. We need to take care of our own heap, tasks, and so on.
> Does dlopen APIs in rtems reset or delete static variables in the same xxx.rap? In linux, dlopen would reset the static variables unless "RTLD_NODELETE" is specified.

Currently there is no support for RTLD_NODELETE and currently no plans to add it. There is no performance gain in using this flag. Is it in the standard?

Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20170606/15e8cfcf/attachment-0002.html>


More information about the users mailing list