Skip to content
Snippets Groups Projects
  1. Apr 24, 2006
  2. Apr 15, 2006
  3. Apr 14, 2006
    • Luigi Rizzo's avatar
      This rather large commit changes the way modules are loaded. · e43bc663
      Luigi Rizzo authored
       
      As partly documented in loader.c and include/asterisk/module.h,
      modules are now expected to return all of their methods and flags
      into a structure 'mod_data', and are normally loaded with RTLD_NOW
      | RTLD_LOCAL, so symbols are resolved immediately and conflicts
      should be less likely.  Only in a small number of cases (res_*,
      typically) modules are loaded RTLD_GLOBAL, so they can export
      symbols.
       
      The core of the change is only the two files loader.c and
      include/asterisk/module.h, all the rest is simply adaptation of the
      existing modules to the new API, a rather mechanical (but believe
      me, time and finger-consuming!) process whose detail you can figure
      out by svn diff'ing any single module.
      
      Expect some minor compilation issue after this change, please
      report it on mantis http://bugs.digium.com/view.php?id=6968
      so we collect all the feedback in one place.
      
      I am just sorry that this change missed SVN version number 20000!
      
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20003 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      e43bc663
  4. Apr 12, 2006
    • Luigi Rizzo's avatar
      add 'show threads' and 'show profile' commands. · 2876a255
      Luigi Rizzo authored
      These are momstly debugging tools for developers,
      a bit documented in the header files (utils.h),
      although more documentation is definitely necessary.
      
      The performance impact is close to zero(*) so there is no
      need to compile it conditionally.
      (*) not completely true - thread destruction still needs
      to search a list _but_ this can be easily optimized if we
      end up with hundreds of active threads (in which case, though,
      the problem is clearly elsewhere).
      
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19544 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      2876a255
  5. Apr 11, 2006
  6. Mar 29, 2006
  7. Mar 28, 2006
  8. Feb 14, 2006
  9. Nov 29, 2005
  10. Nov 08, 2005
  11. Oct 26, 2005
  12. Aug 23, 2005
  13. Jul 25, 2005
  14. Jul 05, 2005
  15. Jun 07, 2005
  16. Jun 06, 2005
  17. Apr 21, 2005
  18. Apr 06, 2005
  19. Dec 31, 2004
  20. Sep 07, 2004
  21. Jun 17, 2004
  22. Nov 26, 2003
  23. Jan 30, 2003
  24. Jul 30, 2002
  25. May 12, 2002
  26. Feb 11, 2002
  27. Dec 25, 2001
  28. Jul 26, 2001
  29. Apr 13, 2001
  30. Jan 09, 2000
  31. Dec 11, 1999
  32. Oct 24, 1999
Loading