in reply to Threads and HTTPS Segfault

How can I work around this?
Is switching from threads to processes an option? Have you considered POE or AnyEvent?

Replies are listed 'Best First'.
Re^2: Threads and HTTPS Segfault
by onelesd (Pilgrim) on Aug 21, 2011 at 18:56 UTC
    I use Thread::Queue; to async {$Qin->enqueue($_) while (<>);}; and the child threads loop and block while (my $line = $Qin->dequeue) {...}. I am not familiar with POE or AnyEvent - is there a similar pattern using those modules?