E Armitage wrote:Why would threads not work?
If I'm correct, threads don't necessarily run at once, do they? For example, 2 threads running "at the same time" might do this:
method1 (run by thread 1)
do a
do b
method2 (run by thread 2)
do x
do a
do x
do b
Also, would it be practical to have a separate thread for each object if there were going to be a lot of objects?