Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

so DSOs can be unloaded in any order - #571

Closed
WalterBright wants to merge 1 commit into
dlang:masterfrom
WalterBright:unload-dso
Closed

so DSOs can be unloaded in any order#571
WalterBright wants to merge 1 commit into
dlang:masterfrom
WalterBright:unload-dso

Conversation

@WalterBright

Copy link
Copy Markdown
Member

This is a start to supporting dynamically loadable and unloadable DLLs.

In particular, now:

  1. exception handling should work successfully across dynamic DLLs.
  2. static data is now unregistered with the gc when DLLs are unloaded

Lots more to go.

Comment thread src/rt/sections_linux.d

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes this would need synchronization, but _static_dsos was never intended Tod be used with anything but link time shared libraries.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, but it's time to change that now.

@WalterBright

Copy link
Copy Markdown
Member Author

Don't pull this yet, I want to rethink this.

@MartinNowak

Copy link
Copy Markdown
Member

I already tested several prototypes so I do have a fixed design in mind but I won't have time to work on this before next week.

@WalterBright

Copy link
Copy Markdown
Member Author

Obsoleted by pull #583

@WalterBright
WalterBright deleted the unload-dso branch August 23, 2013 08:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants