Thread passing execution?

Hey...

got a short question about threading...

when i want a thread to wait for a particular thing, and i made it waiting for a mutex that is locked...will the thread still get its original time of execution, or will the scheduler pass its execution to another thread?

or do i have to manually give it away?(possible with an function)

the third method preferrable, because its better controlled?...

greetz,
Inc
The thread relinquishes the cpu automatically when in blocks on the mutex.
y, got it http://msdn.microsoft.com/en-us/library/ms682105(VS.85).aspx :D... thank you, anyways^^...
Topic archived. No new replies allowed.