i have new synchronization tool (newSem) , and i want to implement a conditional variable using this newSem and mutex .
this is the newSem :
typedef st