Updated readWriteThread.c file
Merge branch 'project-documentation' of https://github.com/RAMKProject/igprof into project-documentation