re-block a thread

Hello!
I study, what is the best practice
for reblocking a thread.

If I use a Mutex,
the thread waits for release of the mutex.

Short after the thread should block again
and wait for the similar event
triggered by the main thread.

The main thread should not be blocked,
waiting on the same mutex.

Thank you for some tips

Erhy
Registered users can post here. Sign in or register to post.