Russell Bryant 
							
						 
					 
					
						
						
							
						
						d5fd0cff73 
					 
					
						
						
							
							When shutting down "gracefully", go through and run the unload() callbacks for  
						
						... 
						
						
						
						all of the modules.  "stop now" is considered a non-graceful shutdown and will
not go through this process.
(issue #9804 , reported by chrisost, patch by me)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@67308  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-06-05 15:51:53 +00:00 
						 
				 
			
				
					
						
							
							
								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)  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@62986  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-05-03 16:38:56 +00:00 
						 
				 
			
				
					
						
							
							
								Jason Parker 
							
						 
					 
					
						
						
							
						
						bb59c9520b 
					 
					
						
						
							
							Merged revisions 61704 via svnmerge from  
						
						... 
						
						
						
						https://origsvn.digium.com/svn/asterisk/branches/1.2 
........
r61704 | qwell | 2007-04-20 16:14:27 -0500 (Fri, 20 Apr 2007) | 4 lines
Fix an issue that I noticed while looking over issue 9571.
The reload timestamp was getting set after reloading the built-in stuff, and before the modules.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61705  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
					
						2007-04-20 21:15:29 +00:00 
						 
				 
			
				
					
						
							
							
								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  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56006  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-02-22 00:08:54 +00:00 
						 
				 
			
				
					
						
							
							
								Tilghman Lesher 
							
						 
					 
					
						
						
							
						
						ce2414804c 
					 
					
						
						
							
							Issue 9007 - Mutex not released on early return  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53532  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-02-08 13:47:54 +00:00 
						 
				 
			
				
					
						
							
							
								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.  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45817  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-10-21 18:48:58 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						fc72291807 
					 
					
						
						
							
							ensure that local include files are always used  
						
						... 
						
						
						
						avoid a duplicate function name (term_init())
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44322  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-10-04 00:25:44 +00:00 
						 
				 
			
				
					
						
							
							
								Anthony LaMantia 
							
						 
					 
					
						
						
							
						
						e421b69ce6 
					 
					
						
						
							
							reveting modifaction to __ast_module_user_remove  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42965  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-09-15 05:00:27 +00:00 
						 
				 
			
				
					
						
							
							
								Joshua Colp 
							
						 
					 
					
						
						
							
						
						10e6fbc3bc 
					 
					
						
						
							
							Tweak changes that went in on revision 42891  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42910  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-09-13 22:45:44 +00:00 
						 
				 
			
				
					
						
							
							
								Anthony LaMantia 
							
						 
					 
					
						
						
							
						
						09d8972be6 
					 
					
						
						
							
							small fix for 7944  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42891  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-09-13 19:27:27 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						a757ca2947 
					 
					
						
						
							
							ensure that unload_dynamic_module won't continue dereferencing a module pointer after the module has been unloaded from memory  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41196  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-08-26 19:45:16 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						970c6876c5 
					 
					
						
						
							
							instead of reverting this supposedly 'stupid' change, let's try to get it working properly  
						
						... 
						
						
						
						also eliminate a warning from dlopen() because some flags were missing on the second dlopen() call
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41087  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-08-25 16:14:00 +00:00 
						 
				 
			
				
					
						
							
							
								Matthew Fredrickson 
							
						 
					 
					
						
						
							
						
						16157e26d6 
					 
					
						
						
							
							Revert stupid RTLD_NOLOAD change that breaks module loading on some systems.  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40981  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-08-24 17:24:33 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						7eecf0bfbc 
					 
					
						
						
							
							use RTLD_NOLOAD if it's available to make loading dynamic modules a little faster and less resource-intensive  
						
						... 
						
						
						
						also, keep trying to dlclose() a module until it actually goes away, since it may have other modules it brought in when it was loaded (thanks PCadach for pointing this problem out to me)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40949  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-08-23 19:28:13 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						e0df1dfd7c 
					 
					
						
						
							
							generate a message when a module cannot be found and loadable modules are disabled  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40866  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-08-22 23:55:16 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						e274fc0b54 
					 
					
						
						
							
							minor improvements  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40863  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-08-22 23:06:13 +00:00 
						 
				 
			
				
					
						
							
							
								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...  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40854  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-08-22 21:57:16 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						26fa229138 
					 
					
						
						
							
							restore 'preload' functionality in loader  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40796  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-08-21 22:23:26 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						61755115c2 
					 
					
						
						
							
							restore printing of module name during loading  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40784  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-08-21 19:56:30 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						5b03b3449b 
					 
					
						
						
							
							use a safer process for checking if a module wants to export symbols into the global namespace  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40769  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-08-21 14:42:03 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						f3c518a70f 
					 
					
						
						
							
							don't declare these variables unless needed  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40751  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-08-21 03:06:41 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						0a27d8bfe5 
					 
					
						
						
							
							merge new_loader_completion branch, including (at least):  
						
						... 
						
						
						
						- restructured build tree and makefiles to eliminate recursion problems
  - support for embedded modules
  - support for static builds
  - simpler cross-compilation support
  - simpler module/loader interface (no exported symbols)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40722  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-08-21 02:11:39 +00:00