If I were, in the main() function, to open a file, then kickoff a number of threads that would all access the file with each thread reading in a line each using fgets (which says that it is thread safe if I am reading the man page correctly), then each thread will be able to do this without tripping over each other, correct?
Thanks