> On 03 Jan 2016, at 21:20, Bartłomiej Palmowski (via RT) 
> <perl6-bugs-follo...@perl.org> wrote:
> 
> # New Ticket Created by  Bartłomiej Palmowski 
> # Please include the string:  [perl #127138]
> # in the subject line of all future correspondence about this issue. 
> # <URL: https://rt.perl.org/Ticket/Display.html?id=127138 >
> 
> 
> Hi,
> 
> recently when trying to parallelise fetching multiple websites with
> LWP::Simple over https (LWP::Simple utilizes IO::Socket::SSL module which
> in turn uses NativeCall to execute openssl functions from the openssl c
> library) I've encountered rakudo crashes. Here is golfed version of my
> issue:
> 
> 
> getenv should be threadsafe according to:
> http://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_09_01

http://pubs.opengroup.org/onlinepubs/9699919799/functions/getenv.html seems to 
claim otherwise?

"The getenv() function is inherently not thread-safe because it returns a value 
pointing to static data.”



Liz

Reply via email to