Threads are sharing the same memory space so you can use ordinary variable to share data between threads.
You are also mentioning about thread waiting for some event, this is another story - synchronization. For this purpose you can use mutexses for example.