Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: I am not able to join a thread when another child process is running which was forked using open.

by sundialsvc4 (Abbot)
on Jan 26, 2012 at 14:35 UTC ( #950096=note: print w/ replies, xml ) Need Help??


in reply to I am not able to join a thread when another child process is running which was forked using open.

Here is what I recommend:

  1. First, get your thoughts in order.   Devise what you want the end result to be, and avoid getting distracted by how to get to those results.
  2. Now, as for “how to get to those results,” start hauling out the big-guns like Parallel::ForkManager.

What I am really trying to say here is that, “the real important thing about the Perl language is:   http://search.cpan.org.   Where, at this particular moment in time, you will find 75424 Uploads, 24,169 Distributions; 103,218 Modules; 9,487 Uploaders, literally about every conceivable subject or task including rocket-science.   Therefore, no matter what it is that you are doing, you do a lot less “original programming” and a lot more “picking and choosing.”   And so, that is what I think you should be doing here.

When you install almost any of those packages onto your system, it subjects itself to hundreds or even thousands of self-tests.   It has been subjected (via the so-called CPANTS testing-service) to test-runs on a myriad of actual environments.   Links to this, and to bug and issue reports, are all there on the same page.   So, you have just been handed a magic bridge that runs over many stinking swamps of wasted time.


Comment on Re: I am not able to join a thread when another child process is running which was forked using open.
Re^2: I am not able to join a thread when another child process is running which was forked using open.
by BrowserUk (Pope) on Jan 26, 2012 at 14:50 UTC

    And my recommendation to you is to take up knitting and avoid eating the yellow snow.


    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.

    The start of some sanity?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2014-09-22 03:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (178 votes), past polls