problem in semaphore

I m using semaphore in my program but facing a problem that sema is in done state in the starting so the first event on it pass it without waiting but i want it to wait till it get signal. so can some one tell me a way to create a thread in pending state.

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion