|
Re: Quick Question about Threads
A much simpler explanation of threading is this:
Being able to do more than 1 thing at a time. It basically lets you do two (or more) things simultaneously, without any expectations of one of them being done before the other. Keep in mind there are a lot of concurrency problems that you need to deal with if you use multiple threads. (see synchronized blocks, atomic variables and volatile variables)
__________________
All opinions are my own.
|