develooper Front page | perl.perl5.porters | Postings from March 2001

Observations with Thread.pm

From:
David M. Lloyd
Date:
March 27, 2001 19:29
Subject:
Observations with Thread.pm
Message ID:
Pine.LNX.4.21.0103272120490.2118-100000@homebody.freemm.org
I'm writing a server program at work in Perl, and I decided to write it
taking into account the possibility to run multithreaded in the future.  
To make a long story short, I was so impressed with the thread module that
I am seriously considering going into production with it, despite the loud
warnings and disclaimers.  I have not had a single problem with Thread.pm
in Linux 2.2 or Solaris 2.8, which are my development/testing platforms.

My question is, how long do threads have to be considered 'unstable'?  
What serious issue remains with them?  Using threads seems rock-solid to
me so far.  Fun, even.

On thing I _did_ have an issue with was Thread::Signal, which segfaults on
both Linux and Solaris.  I haven't been able to duplicate this outside of
my server program though, so I am assuming it's something I'm doing, but I
will definitely post if I discover anything that isn't my fault. :-)

- D

<david@freemm.org>




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About