title: How to send a variable/information between threads
body: <p>I need to know how a thread can send its ID to another thread before it goes to wait state. I thought to pass a variable with its ID but I don't know how to do it.</p>