Change 33830 by [EMAIL PROTECTED] on 2008/05/15 13:03:48
Add investigating eliminating POSIX::int_macro_int() to perltodo.
Affected files ...
... //depot/perl/pod/perltodo.pod#227 edit
Differences ...
==== //depot/perl/pod/perltodo.pod#227 (text) ====
Index: perl/pod/perltodo.pod
--- perl/pod/perltodo.pod#226~33748~ 2008-04-26 09:02:26.000000000 -0700
+++ perl/pod/perltodo.pod 2008-05-15 06:03:48.000000000 -0700
@@ -551,6 +551,18 @@
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
End of Patch.