I have an idea on how could we approach the _r-mess piecemeal:
introduce a new Configure use directive, for example -Dusereentrant,
which would at first only add the use of the most common forms [1]
of the _r functions (no Configure probes for the prototypes of the _r,
even).
[1] Or even for the first cut concentrate on *one* platform, like
for example Linux, and get it first working there.
I can add the Configure framework, but someone else will have
to worry about things like marrying the state data of the _r
functions and Perl's thread structures.
--
$jhi++; # http://www.iki.fi/jhi/
# There is this special biologist word we use for 'stable'.
# It is 'dead'. -- Jack Cohen