projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6438af9
)
Add PERL_NO_GET_CONTEXT to dl_dlopen.xs
author
Nicholas Clark
<nick@ccl4.org>
Sat, 19 Mar 2011 19:10:42 +0000
(19:10 +0000)
committer
Nicholas Clark
<nick@ccl4.org>
Sat, 19 Mar 2011 21:18:18 +0000
(21:18 +0000)
For threaded builds on platforms using dlopen() for dynamic loading, this
should reduce object size, and slightly reduce CPU usage when loading
extensions.
ext/DynaLoader/dl_dlopen.xs
patch
|
blob
|
history
diff --git
a/ext/DynaLoader/dl_dlopen.xs
b/ext/DynaLoader/dl_dlopen.xs
index
21a8ef5
..
4646cb0
100644
(file)
--- a/
ext/DynaLoader/dl_dlopen.xs
+++ b/
ext/DynaLoader/dl_dlopen.xs
@@
-116,6
+116,8
@@
*/
+#define PERL_NO_GET_CONTEXT
+
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"