Commit Graph

22 Commits (bae41357596e6ec24c1d1a222bc1036c469413c7)

Author SHA1 Message Date
Russell Bryant d5fd0cff73 When shutting down "gracefully", go through and run the unload() callbacks for
18 years ago
Kevin P. Fleming 9c638b6507 improve loader a bit, by avoiding trying to initialize embedded modules twice and avoiding trying to load modules from disk when they have been loaded already during the 'preload' pass (reported by blitzrage on IRC, patch by me)
18 years ago
Jason Parker bb59c9520b Merged revisions 61704 via svnmerge from
18 years ago
Kevin P. Fleming 26bb928cfc disable unloading of embedded modules... there is a fundamental problem with doing so that will not be fixed in this version of Asterisk due to its invasiveness
19 years ago
Tilghman Lesher ce2414804c Issue 9007 - Mutex not released on early return
19 years ago
Joshua Colp bd40b393ec Don't use promotion on Darwin because it doesn't seem to work quite right in all cases, this should solve the unresolved symbol issue people have been seeing.
19 years ago
Kevin P. Fleming fc72291807 ensure that local include files are always used
19 years ago
Anthony LaMantia e421b69ce6 reveting modifaction to __ast_module_user_remove
19 years ago
Joshua Colp 10e6fbc3bc Tweak changes that went in on revision 42891
19 years ago
Anthony LaMantia 09d8972be6 small fix for 7944
19 years ago
Kevin P. Fleming a757ca2947 ensure that unload_dynamic_module won't continue dereferencing a module pointer after the module has been unloaded from memory
19 years ago
Kevin P. Fleming 970c6876c5 instead of reverting this supposedly 'stupid' change, let's try to get it working properly
19 years ago
Matthew Fredrickson 16157e26d6 Revert stupid RTLD_NOLOAD change that breaks module loading on some systems.
19 years ago
Kevin P. Fleming 7eecf0bfbc use RTLD_NOLOAD if it's available to make loading dynamic modules a little faster and less resource-intensive
19 years ago
Kevin P. Fleming e0df1dfd7c generate a message when a module cannot be found and loadable modules are disabled
19 years ago
Kevin P. Fleming e274fc0b54 minor improvements
19 years ago
Kevin P. Fleming 804f49e2c9 when loadable modules are disabled, if someone tries to load a module that does not exist, don't dereference a NULL pointer, just stop trying to load it...
19 years ago
Kevin P. Fleming 26fa229138 restore 'preload' functionality in loader
19 years ago
Kevin P. Fleming 61755115c2 restore printing of module name during loading
19 years ago
Kevin P. Fleming 5b03b3449b use a safer process for checking if a module wants to export symbols into the global namespace
19 years ago
Kevin P. Fleming f3c518a70f don't declare these variables unless needed
19 years ago
Kevin P. Fleming 0a27d8bfe5 merge new_loader_completion branch, including (at least):
19 years ago