I am looking for an example which creates multiple threads and all threads are writing the data into single file. It should be in continues loop. If file size are 1 KB then stop the program.
What I have tried:
I have tried creating multiple threads but I am not able to write data in a single file from all threads.