> >From: "David M. Lloyd" <dmlloyd@tds.net> >Date: Mon, 25 Jun 2001 10:23:33 -0500 (CDT) >To: Perl 5 Porters <perl5-porters@perl.org> >Subject: Linking non-threaded Perl with Pthreads > >Is it safe to have an XS module that uses threads with a non-threaded >Perl, as long as the threads do not call the Perl API? Is there anything >I should look out for? > >Thanks! > >- D > ><dmlloyd@tds.net> Yes and no, depends on your libc, malloc and friends. If you don't use perls api, and if you don't use any unsafe libc calls you should be safe. And probobly you don't want to mess at_fork handlers. ArturThread Previous