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

Re: RFC: add discouragement warning to perl threads documentation

Thread Previous | Thread Next
From:
Christian Walde
Date:
March 2, 2014 17:38
Subject:
Re: RFC: add discouragement warning to perl threads documentation
Message ID:
op.xb3u9wxlydyjqt@digitizedsqueak
On Sun, 02 Mar 2014 12:15:55 +0100, Elizabeth Mattijsen <liz@dijkmat.nl>  
wrote:

> Additionally, maybe it would be an idea to mention the forks.pm module  
> on CPAN as an alternative on non-Windows systems?  It provides an almost  
> identical threads API (last time I checked), without the disadvantage of  
> the copying needed to start a thread.  Since forks.pm uses fork() to  
> start a new thread, it uses the OS’s COW system to copying things only  
> when needed.  This results in faster thread starts and lower memory  
> consumption.  At the expense of slower inter-thread communication (such  
> as updating shared variables).

I've been told by people that you're quite experienced with threads. Would  
you consider writing perlasynctut.pod which discusses the various ways  
with which one can do asynchronous programming (events, green threads,  
threads, multiprocessing) in Perl, so the thread documents can point at  
that?

-- 
With regards,
Christian Walde

Thread Previous | Thread Next


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