develooper Front page | perl.perl5.porters | Postings from April 2018

[perl #125106] Why are threads discouraged?

Thread Next
From:
bulk88 via RT
Date:
April 11, 2018 06:46
Subject:
[perl #125106] Why are threads discouraged?
Message ID:
rt-4.0.24-9834-1523429153-1314.125106-15-0@perl.org
On Tue, 10 Apr 2018 15:25:00 -0700, LeonT wrote:
> If that's not what one wants, it's probably possible to implement GIL
> threading instead (though I'm not sure if we'd really want that
> either). I think that's unexplored territory though.

Wouldnt one of the existing fibers/future/promises/Coro/async-but-not-async-with-explicit-yields modules that swap Perl stacks inside the same interp/same perl thread be perl's already-implemented GIL concept?

-- 
bulk88 ~ bulk88 at hotmail.com

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=125106

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