diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2006-08-23 19:28:13 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2006-08-23 19:28:13 +0000 |
commit | 7eecf0bfbc8f5c256e6005aa407f2a7e0ec26183 (patch) | |
tree | d7e82edc8e2c978bd2edf5b9b81c8639d8fb92fd /include/asterisk | |
parent | e690d7d34c2351770704f89be3f321d8cddb0072 (diff) |
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
Diffstat (limited to 'include/asterisk')
-rw-r--r-- | include/asterisk/autoconfig.h.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asterisk/autoconfig.h.in b/include/asterisk/autoconfig.h.in index 2f12438a6..94236ae96 100644 --- a/include/asterisk/autoconfig.h.in +++ b/include/asterisk/autoconfig.h.in @@ -270,6 +270,10 @@ /* Define to 1 if you have the `rint' function. */ #undef HAVE_RINT +/* Define to 1 if your system has a dynamic linker that supports RTLD_NOLOAD. + */ +#undef HAVE_RTLD_NOLOAD + /* Define to 1 if you have the `select' function. */ #undef HAVE_SELECT |