Coro doesn't want to work with JSPL module

Marc Lehmann schmorp at schmorp.de
Sat Nov 24 07:12:15 CET 2012


On Sat, Nov 24, 2012 at 07:36:23AM +0400, Sergey Volkov <wolfix57 at gmail.com> wrote:
> async {
> 
> my $rt = JSPL::Runtime->new();
> my $ctx = $rt->create_context;
> print "done";
> }->join();

That example works fine for me btw. - maybe you are using a BSD, and JSPL
uses pthreads? pthreads on most bsd variants (especially older ones) are
not posix compliant and clash with Coro. Likewise very old gnu/linux glibc
versions (those compiled for i386) on x86 are broken w.r.t. pthreads.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schmorp at schmorp.de
      -=====/_/_//_/\_,_/ /_/\_\



More information about the perl mailing list