I have a big buffer with integer data (a big integer array) and I want to write it into a file.
However I am using openMP and my entire application is now multithreaded. So I wonder, after the buffer is full, is there a way for me to use openMP and have multiple threads writting into the same file making several read-only access to the buffer?
If with openMP it is impossible, is it possible to do it any other way? How should I do it?
Are there any libraries you know for doing this?