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

Re^2: The problem with "The Problem with Threads"

by BrowserUk (Patriarch)
on Jul 20, 2014 at 06:33 UTC ( [id://1094353]=note: print w/replies, xml ) Need Help??


in reply to Re: The problem with "The Problem with Threads"
in thread The problem with "The Problem with Threads"

Use the Fork, Luke, the Fork. :-)

Try using a fork -- the metal utensil -- to slice a tomato and see the sticky mess you end up with.

Like its namesake, fork is useful for somethings and not so for others.

everything on Windows OS is a thread, even the forks.
Everything on modern *nix is also a thread. Processes are simply single threaded processes.

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".
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re^2: The problem with "The Problem with Threads"

Replies are listed 'Best First'.
Re^3: The problem with "The Problem with Threads"
by zentara (Archbishop) on Jul 20, 2014 at 12:55 UTC
    What are you advocating then, in regards to all this? Are you lobbying for forks and threads that don't use clone(), so you get a pure executable space, unencumbered by the parent process's ENV and filehandles? I think that would be the most desirable way to do it, but you would be forced to deal with the filehandles yourself, having to open them all manually. Most people don't expect to have to manually open stdout or stdin.

    I'm not really a human, but I play one on earth.
    Old Perl Programmer Haiku ................... flash japh
      What are you advocating then, in regards to all this? Are you lobbying for forks and threads that don't use clone(), so you get a pure executable space, unencumbered by the parent process's ENV and filehandles? I think that would be the most desirable way to do it, but you would be forced to deal with the filehandles yourself, having to open them all manually. Most people don't expect to have to manually open stdout or stdin.

      Like I said. You shouldn't throw the baby away with the bathwater.

      Instead of all or nothing; how about clone-on-demand.


      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".
      In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2024-04-24 13:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found