develooper Front page | perl.perl5.porters | Postings from May 2015

[perl #125106] Why are threads discouraged?

Thread Next
From:
Eric Brine
Date:
May 5, 2015 15:23
Subject:
[perl #125106] Why are threads discouraged?
Message ID:
rt-4.0.18-5299-1430839395-1497.125106-75-0@perl.org
# New Ticket Created by  "Eric Brine" 
# Please include the string:  [perl #125106]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=125106 >


threads.pm says:

The use of interpreter-based threads in perl is officially discouraged.


Why is that? Is it just because they're rather heavy? If so, why not just
say so and let the user decide whether he wants to use them or not? After
all, heavy threads aren't a problem if you reuse them (as in a worker
model).


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