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

Re^4: How to make a thread to wait till a command on shell get completed.

by techman2006 (Beadle)
on Dec 02, 2013 at 18:18 UTC ( #1065315=note: print w/replies, xml ) Need Help??


in reply to Re^3: How to make a thread to wait till a command on shell get completed.
in thread How to make a thread to wait till a command on shell get completed.

Thanks for pointing for the error. I fixed the issue by putting below fix

if ( $totalKeys < $numThreads ) { $numThreads = $totalKeys; }

Now this code is running as expected.

  • Comment on Re^4: How to make a thread to wait till a command on shell get completed.
  • Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2023-09-28 17:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?