What will happen if two different programs try to write to the same file simultaneously?
Will one of the programs experience a file lock error?
How should programs be designed to handle this scenario?
When the second app (or thread) try to open the file for writing it would throw IO exception.. simple..