I want to use 'cat myclip.avi' command to send the output to three running thread, i am trying to process same clip file to produce three different result. can i use dup2 or how i can make pipe with thread not fork?
Sorry about the question being so vague. Maybe I need to reinforce my understanding of dup2. actually i am using external application let say "linux cat" to read data that in thread one, then data have to pass to two other thread to process it, also those are using external application let say "sort ascending" and "sort descending" assume sort application accept only pip in only, what do then?