Hello Guys,

I am trying to write code in C to copy the contents of two distinct files into one single file using two threads....

I know how to write the things in general C like, fopen fprintf & fscanf & all but... when it comes to threads Iam dead Meet

I know it should be like...I call the pthreads in main... functions (two for reading each file & one for writing...)

I have to maintain locks as well to maintain the concurrecy stuff...

Anyhelp will be very much appreciated...

Thanx in advance
Kishore