Files
metasploit-gs/lib
kris 8d6e48bc0b Revamp the THREADS handling for aux run_host() and run_batch(). THREADS is
supposed to be the number of concurrent threads; however, what's been happening
is just the firing off of THREADS threads and then simply waiting for them all
to finish before doing another round.

Now it tries to keep new threads coming when possible.  It's not exactly smart,
but should usually beat the previous method (when using multiple threads) and
should never be any worse.

Here's the relevant code comment:

# Assume that the oldest thread will be one of the
# first to finish and wait for it.  After that's
# done, remove any finished threads from the list
# and continue on.  This will open up at least one
# spot for a new thread



git-svn-id: file:///home/svn/framework3/trunk@6809 4d416f70-5f16-0410-b530-b9f4589650da
2009-07-16 02:27:18 +00:00
..
2008-10-19 21:03:39 +00:00
2009-05-29 13:46:12 +00:00
2008-10-19 21:03:39 +00:00
2008-10-19 21:03:39 +00:00
2009-01-28 06:13:47 +00:00
2008-10-19 21:03:39 +00:00
2008-10-19 21:03:39 +00:00
2009-06-03 03:14:29 +00:00
2009-05-29 13:46:12 +00:00
2008-10-19 21:03:39 +00:00
2008-10-19 21:03:39 +00:00
2009-01-11 07:17:57 +00:00