Indeed :) It was just a simple test case to demonstrate some things to ab5tract.
Thanks for your work! On Thu, Feb 23, 2017 at 11:53 AM, Timo Paulssen via RT < perl6-bugs-follo...@perl.org> wrote: > Hi, > > we've put in an improved error message for when libuv refuses to create an > eventloop for us (for example because you've surpassed your allowance of > file descriptors). > > Instead of segfaulting when accessing the NULL it returned instead of the > eventloop, we'll throw an exception for you. > > With the very latest moarvm, behaviour is now this: > > timo@schmand /tmp> perl6 CounterMutexSingleton.pl6 --num_threads=252 > 252 > timo@schmand /tmp> perl6 CounterMutexSingleton.pl6 --num_threads=253 > Could not create a new Thread. > in sub MAIN at CounterMutexSingleton.pl6 line 76 > in block <unit> at CounterMutexSingleton.pl6 line 71 > > Setting the default num_threads to 100000 is ... quite optimistic to say > the least :) >