Re: I KNOW, I KNOW ...



In article <-OidnTjjuNqPV-PbnZ2dnUVZ_gidnZ2d@xxxxxxxxxxx>,
Bluto Blutarsky <beelzibub2@xxxxxxxxxxx> wrote:
... the following code is not efficient at all,
i'm not worrying abt efficiencies right now. i want
to get it done FIRST then tune it up. i realize i
overuse threads. (isn't there a while/wait() construct?)
yes i have looked.:

Try this page in the Sun tutorial:

http://java.sun.com/docs/books/tutorial/essential/concurrency/guardmeth.html

Thread t = new Thread(); // sorrey Lew

In the time you took to type the comment ....

Okay, I timed myself. It took less than a minute [*] to find
all of the uses of variable t (in this and other methods) and
remove them. That's probably more time than it took you to type
the comment, but not much more, and then it would be done.

[*] Using my preferred text editor, vim. I'm sure with a different
tool it could be slower, or faster.

"Whatever", I guess.

--
B. L. Massingill
ObDisclaimer: I don't speak for my employers; they return the favor.
.