How to create Parent and child thread and synchronize them ???
I wish to create a two threaded program ....
where the parent thread will do a job and return a value which the child thread will use for a job ....
How do I do that ?
Do I have to use fork/vfork with pthread_create ??
|