I'm writing a script using two separate thread one doing
file reading operation and the other doing appending, both threads run fairly frequently.
My question is, if one thread happens to read the
file while the other is just in the middle of appending strings such as "This is a test" into this
file, what would happen?
I know if you
…