summaryrefslogtreecommitdiff
path: root/pod/perltodo.pod
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-05-15 13:03:48 +0000
committerNicholas Clark <nick@ccl4.org>2008-05-15 13:03:48 +0000
commit839c1407d250d7c1cabbabe92d598c29d94077e8 (patch)
tree3b462eb172a2469ce8262202c63b33c4d5ca11b5 /pod/perltodo.pod
parent61699fd9cff97058aa916fa11f87bf31bdcef194 (diff)
downloadperl-839c1407d250d7c1cabbabe92d598c29d94077e8.tar.gz
Add investigating eliminating POSIX::int_macro_int() to perltodo.
p4raw-id: //depot/perl@33830
Diffstat (limited to 'pod/perltodo.pod')
-rw-r--r--pod/perltodo.pod12
1 files changed, 12 insertions, 0 deletions
diff --git a/pod/perltodo.pod b/pod/perltodo.pod
index a75305f20f..81afdb0329 100644
--- a/pod/perltodo.pod
+++ b/pod/perltodo.pod
@@ -551,6 +551,18 @@ These tasks would need C knowledge, and roughly the level of knowledge of
the perl API that comes from writing modules that use XS to interface to
C.
+=head2 investigate removing int_macro_int from POSIX.xs
+
+As a hang over from the original C<constant> implementation, F<POSIX.xs>
+contains a function C<int_macro_int> which in conjunction with C<AUTOLOAD> is
+used to wrap the C functions C<WEXITSTATUS>, C<WIFEXITED>, C<WIFSIGNALED>,
+C<WIFSTOPPED>, C<WSTOPSIG> and C<WTERMSIG>. It's probably worth replacing
+this complexity with 5 simple direct wrappings of those 5 functions.
+
+However, it would be interesting if someone could measure the memory usage
+before and after, both for the case of C<use POSIX();> and the case of
+actually calling the Perl space functions.
+
=head2 safely supporting POSIX SA_SIGINFO
Some years ago Jarkko supplied patches to provide support for the POSIX