Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^4: threads->create hangs (vs fork)

by BrowserUk (Patriarch)
on Aug 16, 2015 at 17:33 UTC ( [id://1138761]=note: print w/replies, xml ) Need Help??


in reply to Re^3: threads->create hangs (vs fork)
in thread threads->create hangs

So Perl boldly went and implemented (interpreter-based) threads (i.e. without OS support),

That is completely wrong.

Perl's iThreads are essentially thin wrappers over OS (kernel) threads:

  1. pthreads on *nix;
  2. Windows threads on Windows.

The term "interpreter threads", simply means that each kernel thread runs a separate instance of the Perl interpreter. In this way, each thread runs in its own distinct memory; despite that all of their memory is part of the same single process.

Equally, the rest of your post is a total misunderstanding of the implementation; and a complete misreading of the actual history.

Please refrain from further comment on a subject you clearly have nothing useful to contribute to.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
In the absence of evidence, opinion is indistinguishable from prejudice.
I'm with torvalds on this Agile (and TDD) debunked I told'em LLVM was the way to go. But did they listen!

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1138761]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2024-04-23 12:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found