Hi Rob,
well, if we are already discussing threads in general, and not in Perl in
particular, I might as well contribute to the discussion.
On Wednesday 09 Feb 2011 15:03:04 Rob Coops wrote:
> Just adding a little to this discussion then. :-)
>
> Threads regardless of the language are meant to
I have to agree I missed things a bit there :-(
forks are simply a better way of dealing with threads then the default perl
ithreads, the benefits forks offer goes far beyond the minimal drawbacks. By
now the notes about modules that still insist on using threads rather then
forks will for most us
On 2011-02-09 14:03, Rob Coops wrote:
> But any developer that tells you that threads are not worth the
> trouble they cause or anything along those lines is clearly an
> experienced programmer who unfortunately has not realized yet
> that the computer world has changed incredibly over the past
>
Just adding a little to this discussion then. :-)
Threads regardless of the language are meant to do multiple things in
parallel. For instance I'm at the moment working on a tool that extracts
vast amounts of data from a web service as the calls to that service are
pretty much independent and the
On Tuesday 08 Feb 2011 10:05:47 Dr.Ruud wrote:
> On 2011-02-07 11:30, Shlomi Fish wrote:
> > Threads work pretty well in C, though they are extremely tricky to get
> > right for non-trivial programs
>
> That they work "pretty well" is probably about user experience of some
> heavily interactive sy
On 2011-02-07 07:44, Octavian Rasnita wrote:
From: "Dr.Ruud"
On 2011-02-06 12:12, terry peng wrote:
What's the suggested module for perl's threads?
I have been using Perl 5.12 under linux.
Stay away from threads. Design and develop in a way that no internal
resources
On 2011-02-07 11:30, Shlomi Fish wrote:
Threads work pretty well in C, though they are extremely tricky to get right
for non-trivial programs
That they work "pretty well" is probably about user experience of some
heavily interactive system. But only if the user accepts crashes and
deadlocks
oid:
>
> [quote]
>
>Before you start implementing code using Perl's threads,
> please remember that Perl's threads are not like other threads. Please see
> http://perldoc.perl.org/perlthrtut.html to learn more; specifically the "What
> kind of threads are perl thre
Hi Terry,
On Monday 07 Feb 2011 02:32:49 terry peng wrote:
> Sun, 06 Feb 2011 16:21:58 +0100 письмо от "Dr.Ruud"
:
> > On 2011-02-06 12:12, terry peng wrote:
> > > What's the suggested module for perl's threads?
> > > I have been using Perl 5.
From: "Dr.Ruud"
On 2011-02-06 12:12, terry peng wrote:
What's the suggested module for perl's threads?
I have been using Perl 5.12 under linux.
Stay away from threads. Design and develop in a way that no internal
resources (but read-only data) are shared.
In a pro
On 11-02-06 07:32 PM, terry peng wrote:
why no threads?
I have been using threads in other language (like Java) for long time, I was
thinking it's good.
It depends on what your OS is. *NIX is designed to dispatch and recover
processes. Windows does not fork well since every Windows processe
Sun, 06 Feb 2011 16:21:58 +0100 письмо от "Dr.Ruud" :
> On 2011-02-06 12:12, terry peng wrote:
>
> > What's the suggested module for perl's threads?
> > I have been using Perl 5.12 under linux.
>
> Stay away from threads. Design and develop in a
On 2011-02-06 12:12, terry peng wrote:
What's the suggested module for perl's threads?
I have been using Perl 5.12 under linux.
Stay away from threads. Design and develop in a way that no internal
resources (but read-only data) are shared.
--
Ruud
--
To unsubscribe, e-mail:
Sun, 06 Feb 2011 08:54:50 -0500 письмо от Shawn H Corey :
> On 11-02-06 07:10 AM, Octavian Rasnita wrote:
> > From: "terry peng"
> >> What's the suggested module for perl's threads?
> >> I have been using Perl 5.12 under linux.
> >>
&
On 11-02-06 07:10 AM, Octavian Rasnita wrote:
From: "terry peng"
What's the suggested module for perl's threads?
I have been using Perl 5.12 under linux.
Thanks.
use threads;
use threads::shared;
use Thread::Queue;
This module does the work of threads::shared.
From: "terry peng"
> What's the suggested module for perl's threads?
> I have been using Perl 5.12 under linux.
>
> Thanks.
use threads;
use threads::shared;
Octavian
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-ma
What's the suggested module for perl's threads?
I have been using Perl 5.12 under linux.
Thanks.
17 matches
Mail list logo