acezrwild817 0 Light Poster

What is the best way to pause a thread? I tried thread.ThreadState = ThreadState.WaitSleepJoin but it says that the property thread.ThreadState is read only and I cannot assign to it. Furthermore, What is the best method to assign a value to a variable that more than one thread accesses. I attempted to use the Interlock class but it only increments and decrements so I can't use it. I need to make an assignment to the shared variable from one thread and then the other thread will use that new assignment. Currently my program is going crazy with no synchronization.