[perl #131871] [CONC] [REGEX] Regex code block closing over lexical variable, is not threadsafe

2018-03-11 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
OK, first of all, a bot-friendly (whateverable-friendly specifically) version of the first snippet is here: say run(:out, , ‘await ^100 .map: -> $i { start { "".match(/ { print $i } /) } }’).out.slurp-rest eq (^100).join And that points to the better-sched merge as noted by dogbert++ The second

[perl #131871] [CONC] [REGEX] Regex code block closing over lexical variable, is not threadsafe

2018-03-11 Thread Jan-Olof Hendig via RT
On Wed, 09 Aug 2017 13:06:46 -0700, sml...@gmail.com wrote: > This bug was found as a side-effect of RT #131870, but might be a > separate issue: > > ➜ await ^10 .map: -> $i { start { "".match(/ { say $i } /) } } > 7 > 7 > 6 > 6 > 7 > 8 > 9 > 9 >

[perl #131871] [CONC] [REGEX] Regex code block closing over lexical variable, is not threadsafe

2017-08-09 Thread via RT
# New Ticket Created by Sam S. # Please include the string: [perl #131871] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=131871 > This bug was found as a side-effect of RT #131870, but might be a separate issue: ➜ awai