I was thinking of satisfying the requirement only , But Yes what u mentioned is the efficient and better way i.e to send a signal by a consumer.
Thanks for clarifying it.
Type: Posts; User: bang
I was thinking of satisfying the requirement only , But Yes what u mentioned is the efficient and better way i.e to send a signal by a consumer.
Thanks for clarifying it.
I am new to it !
But #10th reply makes sense . Yes, pthread_cond_wait() when returns, it will ensure that the mutex which was associated with this cond variable, should be in locked state, even in...