How to create n threads for manipulating m files ('n' is very less compared to file 'm') . I have written file manipulation program in void run and reading in main prog. declaring file name in global variable buffer
I should use file locking .
Currently i have written program which creates n threads for n files.. i need to alter now.
Please help