i have a very big problem!
every time i call fork() in my program, the function pthread_cond_wait(), that should be in state of stack( until she will be release ), is exit, causing
problem to my program.
Does someone know's why, or what should i do to avoid this( maybe to use other function then fork or pthread_cond_wait() )
Thanks ahead
every time i call fork() in my program, the function pthread_cond_wait(), that should be in state of stack( until she will be release ), is exit, causing
problem to my program.
Does someone know's why, or what should i do to avoid this( maybe to use other function then fork or pthread_cond_wait() )
Thanks ahead