This is a program that reads a file, modifies its content in a multi-threaded manner and writes the modified content back to the file (overwrites it). The modifications performed on the file include converting all the lines to uppercase, replacing all occurrences of ‘ ’ (whitespace) character with ‘_’, and writing the modified content back to the file. Pthread library is used in order to initiliaze threads.
alperozdmir / cse3033_multithreadio Goto Github PK
View Code? Open in Web Editor NEWA program that reads a file, modifies its content in a multi-threaded manner and writes the modified content back to the file (overwrites it).