Linux process(problem with wait)
Hi.I am beginner a Linux.I use C language & fedora.my problem is about wait() function.I know this function waits the child's terminate to continue.I use wait(NULL) and parent waits the child.but I want the parent to wait the child when 'as' equal to zero.If 'as' isnt equal to zero ,the parent(in my code it is main) must not wait the child.But main always waits to continue.Where is the problem?
Code:
... |
no help? :(
never thought of this, while being a Member |
All times are GMT -5. The time now is 07:44 AM. |