urgent need
hai everyone
i want to know how to go about process handling in unix environment . Actually i have to write a program in which a process creates its child by calling fork , now in the program i have to pass control from child to parent and from parent to child alternatively for ex if parent say 1 ,then child should say 2 and then parent should say 3 ..... in this order. so in this i have to jump from child to parent and from parent to child . if anyone knows how to do this plz reply to me ,its very urgent
thanx
ankit
|