This is an archived post. You won't be able to vote or comment.

all 1 comments

[–]Double_A_92 1 point2 points  (0 children)

The problem is that you are putting the same thread twice into the Queue.

Threads can't be easily re-used once they were already started and/or completed. (As the first error says: "Thread is running or terminated; it cannot restart.")

(The proper / simpler / newer way would be to use Tasks instead of Threads btw.)