in reply to I am not able to join a thread when another child process is running which was forked using open.

want to do following things from main thread/process: 1. Communicate to another process using pipe. 2. Create threads to do certain task. 3. Wait for all the threads to complete.

You might find some ideas in Using Select and pipes to communicate with threads


I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh
  • Comment on Re: I am not able to join a thread when another child process is running which was forked using open.