[perl #126390] [BUG] await start {} hangs when using HTTP::UserAgent
[email protected] ("Jan-Olof Hendig via RT") Fri, 09 Mar 2018 12:58:28 -0800
| Newsgroups | perl.perl6.compiler |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 30 Dec 2015 09:12:25 -0800, [email protected] wrote: > To give an update on this. With Rakudo built on Dec 30, 2015, I no > longer get any hangs with neither > perl6 -MURI -e 'await start { say URI.new("http://localhost") };' > > nor perl6 -MIETF::RFC_Grammar::URI -e "await Promise.in(1).then({ > require IETF::RFC_Grammar::URI });" > > This is on Debian Wheezy. I tried both on 32bit 2-core and 64bit 1- > core boxes. This problem has been fixed. Part of the problem seems to have been the use of require in a thread, i.e. RT #126587.