Originally posted by Billy Boob:
...I have to do everything but program Master, which I have, and sometimes it works, sometimes it kinda works, sometimes it doesn't work at all, as I stated above. Honestly, it's not that confusing, i just can't figure out why it freezes sometimes but still manages to get the correct answer, and sometimes it will even go as far as printing it out.
4. There MUST be same number of threads as tasks since you are only using a thread once then disposing it. If you create less threads than tasks you will deadlock. If you create more threads than tasks, you will also deadlock, but all your tasks will complete before the deadlock.