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

Re: RFC: add discouragement warning to perl threads documentation

Thread Previous | Thread Next
From:
Victor Efimov
Date:
March 2, 2014 18:00
Subject:
Re: RFC: add discouragement warning to perl threads documentation
Message ID:
CAF7QZD5Yr-7Km-6yY07+uSygygASMrdd9SgYBvHOWsi8QRsHYg@mail.gmail.com
2014-03-02 15:15 GMT+04:00 Elizabeth Mattijsen <liz@dijkmat.nl>:
> [cut] 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).
>
>
so, threads data sharing _can_ be faster than fork+pipes? I thought the opposite
http://www.nntp.perl.org/group/perl.perl5.porters/2013/08/msg206633.html
http://www.nntp.perl.org/group/perl.perl5.porters/2013/08/msg206698.html

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