Hello, there. I'm having trouble with the initialization of variable of type sem_t.
I used this.
sem_t example;
example = NULL;
if(example == NULL){
/* code here */
}
I'm getting the error, "no match for operator ==".
What value do you think I should place in the initialization?
I tried 0, but still the same.
Thanks.